Interface: CodedError
January 18, 2022 · View on GitHub
Kui API Documentation - v11.0.0 / @kui-shell/core / CodedError
Interface: CodedError<Code>
@kui-shell/core.CodedError
Type parameters
| Name | Type |
|---|---|
Code | number |
Hierarchy
-
Error↳
CodedError
Implemented by
Table of contents
Properties
Properties
body
• Optional body: string | Record<string, any>
Defined in
packages/core/src/models/errors.ts:25
code
• Optional code: Code
Defined in
packages/core/src/models/errors.ts:21
hide
• Optional hide: boolean
Defined in
packages/core/src/models/errors.ts:20
message
• message: string
Inherited from
Error.message
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1023
name
• name: string
Inherited from
Error.name
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1022
partialMatches
• Optional partialMatches: UsageRow[]
Defined in
packages/core/src/models/errors.ts:23
stack
• Optional stack: string
Inherited from
Error.stack
Defined in
node_modules/typescript/lib/lib.es5.d.ts:1024
statusCode
• Optional statusCode: number