UNPKG

mindee

Version:

Mindee Client Library for Node.js

19 lines (18 loc) 481 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorItem = void 0; /** * Explicit details on a problem. */ class ErrorItem { /** * @param serverResponse JSON response from the server. */ constructor(serverResponse) { if (serverResponse["pointer"] !== undefined) { this.pointer = serverResponse["pointer"]; } this.detail = serverResponse["detail"]; } } exports.ErrorItem = ErrorItem;