| title |
Error Response Model |
| description |
Error Response data model specification |
| detail_level |
Data structure |
| tags |
|
| revised |
false |
The Error Response model defines the standardized format for API error responses across the system.
interface ErrorResponse {
error: {
code: string;
message: string;
details?: any;
};
status: number;
}
| Property |
Type |
Description |
error.code |
string |
Machine-readable error code |
error.message |
string |
Human-readable error message |
error.details |
any |
Optional additional error details |
status |
number |
HTTP status code |
AUTH_REQUIRED - Authentication required
INVALID_INPUT - Invalid request parameters
NOT_FOUND - Resource not found
RATE_LIMITED - Too many requests
SERVER_ERROR - Internal server error
Error responses are returned by API endpoints when an error occurs. The standardized format enables uniform error handling across the application.
- System Integration (Documentation moved) - For API integration guidelines