UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

29 lines (21 loc) 489 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AlreadyExistsError = void 0; function _paperError() { const data = require("./paper-error"); _paperError = function () { return data; }; return data; } class AlreadyExistsError extends _paperError().PaperError { constructor(type, name) { super(`${type} ${name} already exists.`); } report() { return this.message; } } exports.AlreadyExistsError = AlreadyExistsError;