Class ApiError
Less than 1 minute
Class ApiError
Declared in packages/sdk/errors/dist/types/src/errors.d.ts:14
User facing API Errors. E.g., something was misconfigured.
Constructors
constructor(code, [message], [context])
Returns: ApiError
Arguments:
code: string
message: string
context: any
Properties
cause
Type: unknown
code
Type: string
context
Type: any
message
Type: string
name
Type: string
stack
Type: string
prepareStackTrace
Type: function
stackTraceLimit
Type: number
Methods
captureStackTrace(targetObject, [constructorOpt])
Create .stack property on a target object
Returns: void
Arguments:
targetObject: object
constructorOpt: Function