UNPKG

@rightcapital/exceptions

Version:

TypeScript Exception definitions inspired by PHP SPL Exceptions etc...

34 lines 3.9 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UnexpectedValueException = exports.UnderflowException = exports.RuntimeException = exports.RangeException = exports.OverflowException = exports.OutOfRangeException = exports.OutOfBoundsException = exports.LogicException = exports.LengthException = exports.InvalidArgumentException = exports.IgnorableException = exports.DomainException = exports.BaseException = exports.BadMethodCallException = exports.BadFunctionCallException = void 0; var bad_function_call_exception_1 = require("./exceptions/bad-function-call.exception"); Object.defineProperty(exports, "BadFunctionCallException", { enumerable: true, get: function () { return bad_function_call_exception_1.BadFunctionCallException; } }); var bad_method_call_exception_1 = require("./exceptions/bad-method-call.exception"); Object.defineProperty(exports, "BadMethodCallException", { enumerable: true, get: function () { return bad_method_call_exception_1.BadMethodCallException; } }); var base_exception_1 = require("./exceptions/base.exception"); Object.defineProperty(exports, "BaseException", { enumerable: true, get: function () { return base_exception_1.BaseException; } }); var domain_exception_1 = require("./exceptions/domain.exception"); Object.defineProperty(exports, "DomainException", { enumerable: true, get: function () { return domain_exception_1.DomainException; } }); var ignorable_exception_1 = require("./exceptions/ignorable.exception"); Object.defineProperty(exports, "IgnorableException", { enumerable: true, get: function () { return ignorable_exception_1.IgnorableException; } }); var invalid_argument_exception_1 = require("./exceptions/invalid-argument.exception"); Object.defineProperty(exports, "InvalidArgumentException", { enumerable: true, get: function () { return invalid_argument_exception_1.InvalidArgumentException; } }); var length_exception_1 = require("./exceptions/length.exception"); Object.defineProperty(exports, "LengthException", { enumerable: true, get: function () { return length_exception_1.LengthException; } }); var logic_exception_1 = require("./exceptions/logic.exception"); Object.defineProperty(exports, "LogicException", { enumerable: true, get: function () { return logic_exception_1.LogicException; } }); var out_of_bounds_exception_1 = require("./exceptions/out-of-bounds.exception"); Object.defineProperty(exports, "OutOfBoundsException", { enumerable: true, get: function () { return out_of_bounds_exception_1.OutOfBoundsException; } }); var out_of_range_exception_1 = require("./exceptions/out-of-range.exception"); Object.defineProperty(exports, "OutOfRangeException", { enumerable: true, get: function () { return out_of_range_exception_1.OutOfRangeException; } }); var overflow_exception_1 = require("./exceptions/overflow.exception"); Object.defineProperty(exports, "OverflowException", { enumerable: true, get: function () { return overflow_exception_1.OverflowException; } }); var range_exception_1 = require("./exceptions/range.exception"); Object.defineProperty(exports, "RangeException", { enumerable: true, get: function () { return range_exception_1.RangeException; } }); var runtime_exception_1 = require("./exceptions/runtime.exception"); Object.defineProperty(exports, "RuntimeException", { enumerable: true, get: function () { return runtime_exception_1.RuntimeException; } }); var underflow_exception_1 = require("./exceptions/underflow.exception"); Object.defineProperty(exports, "UnderflowException", { enumerable: true, get: function () { return underflow_exception_1.UnderflowException; } }); var unexpected_value_exception_1 = require("./exceptions/unexpected-value.exception"); Object.defineProperty(exports, "UnexpectedValueException", { enumerable: true, get: function () { return unexpected_value_exception_1.UnexpectedValueException; } }); //# sourceMappingURL=index.js.map