@agorio/sdkDocs


Class: UcpApiError

Extends

  • Error

Constructors

new UcpApiError()

new UcpApiError(message, statusCode, responseBody): UcpApiError

Parameters

message: string

statusCode: number

responseBody: string

Returns

UcpApiError

Overrides

Error.constructor

Defined in

src/client/ucp-client.ts:539

Properties

cause?

optional cause: 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

readonly responseBody: string

Defined in

src/client/ucp-client.ts:542


stack?

optional stack: string

Inherited from

Error.stack

Defined in

docs/node_modules/typescript/lib/lib.es5.d.ts:1078


statusCode

readonly statusCode: number

Defined in

src/client/ucp-client.ts:541