Skip to main contentOrderly SDKs / Modules / @orderly.network/types / ApiError
Class: ApiError
@orderly.network/types.ApiError
Hierarchy
Table of contents
Constructors
Properties
Constructors
constructor
• new ApiError(message, code)
Parameters
| Name | Type |
|---|
message | string |
code | number |
Overrides
Error.constructor
Defined in
packages/types/src/errors.ts:2
Properties
code
• Private Readonly code: number
Defined in
packages/types/src/errors.ts:2
message
• message: string
Inherited from
Error.message
Defined in
node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts:1068
name
• name: string
Inherited from
Error.name
Defined in
node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts:1067
stack
• Optional stack: string
Inherited from
Error.stack
Defined in
node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts:1069