ModelError Type — typescript-sdk Architecture
Architecture documentation for the ModelError type/interface in ModelError.ts from the typescript-sdk codebase.
Entity Profile
Dependency Diagram
graph TD 06e65df0_0155_d1ad_3677_c4ea70b6947c["ModelError"] caeb26d6_13ae_b344_bfa4_9dfde784482d["ModelError.ts"] 06e65df0_0155_d1ad_3677_c4ea70b6947c -->|defined in| caeb26d6_13ae_b344_bfa4_9dfde784482d style 06e65df0_0155_d1ad_3677_c4ea70b6947c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/models/ModelError.ts lines 28–65
export interface ModelError {
/**
* HTTP status code associated with the error.
* @type {number}
* @memberof ModelError
*/
status: number;
/**
* Stable, machine-readable error identifier.
* @type {string}
* @memberof ModelError
*/
code: string;
/**
* Human-readable description of the error.
* @type {string}
* @memberof ModelError
*/
message: string;
/**
* ISO-8601 timestamp indicating when the error occurred.
* @type {Date}
* @memberof ModelError
*/
timestamp: Date;
/**
* Correlation identifier for tracing the failing request.
* @type {string}
* @memberof ModelError
*/
requestId?: string;
/**
* Optional list of contextual error details.
* @type {Array<ErrorDetailsInner>}
* @memberof ModelError
*/
details?: Array<ErrorDetailsInner>;
}
Defined In
Source
Frequently Asked Questions
What is the ModelError type?
ModelError is a type/interface in the typescript-sdk codebase, defined in src/models/ModelError.ts.
Where is ModelError defined?
ModelError is defined in src/models/ModelError.ts at line 28.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free