@gala-chain/connect ∙ API
API > GalaChainResponseError
Class: GalaChainResponseError<T>
Represents an error response from a GalaChain operation.
Contents
Type parameters
▪ T
The type of data associated with the error
Constructors
new GalaChainResponseError(data)
new GalaChainResponseError\<
T>(data):GalaChainResponseError\<T>
Creates a new error response.
Parameters
▪ data: GalaChainError\<T>
The error data to construct the response from
Source
chain-connect/src/types/galaChain.ts:70
Properties
Error
readonlyError:string
The error key or identifier
Source
chain-connect/src/types/galaChain.ts:60
ErrorCode
readonlyErrorCode:number
Numeric error code
Source
chain-connect/src/types/galaChain.ts:64
Message
readonlyMessage:string
Human-readable error message