UNPKG

mindee

Version:

Mindee Client Library for Node.js

24 lines (23 loc) 561 B
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[]; }