Skip to main content

ParallelModelAuthorizationException

ParallelModel TypeScript SDK


Class: ParallelModelAuthorizationException

Defined in: transport.ts:37

API error corresponding to HTTP 403 Forbidden.

Extends​

Constructors​

Constructor​

new ParallelModelAuthorizationException(statusCode, body, headers, message?): ParallelModelAuthorizationException

Defined in: transport.ts:29

Creates a ParallelModelApiException instance.

Parameters​

statusCode​

number

HTTP status code returned by the server.

body​

unknown

HTTP response body or request body, depending on the operation.

headers​

Record<string, string>

HTTP headers associated with the request or response.

message?​

string

Error message to expose to callers.

Returns​

ParallelModelAuthorizationException

Inherited from​

ParallelModelApiException.constructor

Properties​

body​

readonly body: unknown

Defined in: transport.ts:29

HTTP response body or request body, depending on the operation.

Inherited from​

ParallelModelApiException.body


headers​

readonly headers: Record<string, string>

Defined in: transport.ts:29

HTTP headers associated with the request or response.

Inherited from​

ParallelModelApiException.headers


statusCode​

readonly statusCode: number

Defined in: transport.ts:29

HTTP status code returned by the server.

Inherited from​

ParallelModelApiException.statusCode

Accessors​

detail​

Get Signature​

get detail(): string | undefined

Defined in: transport.ts:31

Returns the detail field of an object response body when present.

Returns​

string | undefined

Inherited from​

ParallelModelApiException.detail


retryAfter​

Get Signature​

get retryAfter(): string

Defined in: transport.ts:33

Returns the Retry-After response header when present.

Returns​

string

Inherited from​

ParallelModelApiException.retryAfter