mindee
Version:
Mindee Client Library for Node.js
24 lines (23 loc) • 561 B
TypeScript
import { ErrorItem } from "./errorItem.js";
export interface ErrorDetails {
/**
* The HTTP status code returned by the server.
*/
status: number;
/**
* A human-readable explanation specific to the occurrence of the problem.
*/
detail: string;
/**
* A short, human-readable summary of the problem.
*/
title: string;
/**
* A machine-readable code specific to the occurrence of the problem.
*/
code: string;
/**
* A list of explicit error details.
*/
errors: ErrorItem[];
}