ErrorDetails interface

Details object that may be included in an error response.

Signature:

export interface ErrorDetails 

Properties

Property Type Description
"@type" string
domain string The domain where the error occurred.
metadata Record<string, unknown> Additional metadata about the error.
reason string The reason for the error.

ErrorDetails."@type"

Signature:

'@type'?: string;

ErrorDetails.domain

The domain where the error occurred.

Signature:

domain?: string;

ErrorDetails.metadata

Additional metadata about the error.

Signature:

metadata?: Record<string, unknown>;

ErrorDetails.reason

The reason for the error.

Signature:

reason?: string;