UNPKG

openapi-diff

Version:

A CLI tool to identify differences between Swagger/OpenAPI specs.

15 lines (14 loc) 470 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OpenApiDiffErrorImpl = void 0; const VError = require("verror"); class OpenApiDiffErrorImpl extends VError { constructor(code, message, cause) { super({ cause }, '%s', message); this.code = code; } toString() { return `OpenApiDiffError: { code: ${this.code}, message: ${this.message} }`; } } exports.OpenApiDiffErrorImpl = OpenApiDiffErrorImpl;