@agorio/sdk • Docs
Class: UcpApiError
Extends
Error
Constructors
new UcpApiError()
new UcpApiError(
message,statusCode,responseBody):UcpApiError
Parameters
• message: string
• statusCode: number
• responseBody: string
Returns
Overrides
Error.constructor
Defined in
src/client/ucp-client.ts:539
Properties
cause?
optionalcause:unknown
Inherited from
Error.cause
Defined in
docs/node_modules/typescript/lib/lib.es2022.error.d.ts:24
message
message:
string
Inherited from
Error.message
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1077
name
name:
string
Inherited from
Error.name
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1076
responseBody
readonlyresponseBody:string
Defined in
src/client/ucp-client.ts:542
stack?
optionalstack:string
Inherited from
Error.stack
Defined in
docs/node_modules/typescript/lib/lib.es5.d.ts:1078
statusCode
readonlystatusCode:number
Defined in
src/client/ucp-client.ts:541