Skip to main content

ParallelModelNotFoundException

ParallelModel TypeScript SDK


Class: ParallelModelNotFoundException

Defined in: transport.ts:41

API error corresponding to HTTP 404 Not Found.

Extends​

Constructors​

Constructor​

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

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​

ParallelModelNotFoundException

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