Interface: ApiError
Defined in: envelope/index.ts:138
The error object under the default (bc) errorformat.
Indexable
[
key:string]:unknown
Structured data attached to the message by the emitting code, merged into this object as top-level keys.
Properties
code
code:
string
Defined in: envelope/index.ts:140
Machine-readable error code, e.g. badtoken.
docref?
optionaldocref?:string
Defined in: envelope/index.ts:146
Docs link plus deprecation notices; nested in error under the bc format.
info
info:
string
Defined in: envelope/index.ts:143
Human-readable description provided by the server.
trace?
optionaltrace?:string
Defined in: envelope/index.ts:149
PHP backtrace, when $wgShowExceptionDetails is on (non-usage exceptions).