AxonError
Defined in: client-sdk-js/src/protocol/errors.ts:11
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AxonError( code, message, logId?): AxonError;Defined in: client-sdk-js/src/protocol/errors.ts:15
Parameters
Section titled “Parameters”message
Section titled “message”string
logId?
Section titled “logId?”string
Returns
Section titled “Returns”AxonError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”code: ErrorCode;Defined in: client-sdk-js/src/protocol/errors.ts:12
logId?
Section titled “logId?”logId?: string;Defined in: client-sdk-js/src/protocol/errors.ts:13
message
Section titled “message”message: string;Defined in: website/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name: string;Defined in: website/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”stack?: string;Defined in: website/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack
Methods
Section titled “Methods”fromStatus()
Section titled “fromStatus()”static fromStatus( status, message, logId?): AxonError;Defined in: client-sdk-js/src/protocol/errors.ts:22
Parameters
Section titled “Parameters”status
Section titled “status”number
message
Section titled “message”string
logId?
Section titled “logId?”string
Returns
Section titled “Returns”AxonError