Urara-Blog/node_modules/.pnpm-store/v3/files/d9/c9e5bda42e889b8da91edd00d02178e7330c2a5c57fd89e19e307b94552f661c810be8f624d34b860543569bfd8a60f1188ed4506bb65ff48099c69a7e1afc
2022-08-14 01:14:53 +08:00

35 lines
816 B
Text

/*
* @fileoverview Utilities for Doctrine
* @author Yusuke Suzuki <utatane.tea@gmail.com>
*/
(function () {
'use strict';
var VERSION;
VERSION = require('../package.json').version;
exports.VERSION = VERSION;
function DoctrineError(message) {
this.name = 'DoctrineError';
this.message = message;
}
DoctrineError.prototype = (function () {
var Middle = function () { };
Middle.prototype = Error.prototype;
return new Middle();
}());
DoctrineError.prototype.constructor = DoctrineError;
exports.DoctrineError = DoctrineError;
function throwError(message) {
throw new DoctrineError(message);
}
exports.throwError = throwError;
exports.assert = require('assert');
}());
/* vim: set sw=4 ts=4 et tw=80 : */