UNPKG

mindee

Version:

Mindee Client Library for Node.js

14 lines (13 loc) 384 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorResponse = void 0; class ErrorResponse { /** * @param serverResponse JSON response from the server. */ constructor(serverResponse) { this.status = serverResponse["status"]; this.detail = serverResponse["detail"]; } } exports.ErrorResponse = ErrorResponse;