UNPKG

node-exceptions

Version:

Extendable error class for nodejs to extend native errors

22 lines (21 loc) 795 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const BaseException_1 = require("./BaseException"); class LogicalException extends BaseException_1.BaseException { } exports.LogicalException = LogicalException; class DomainException extends BaseException_1.BaseException { } exports.DomainException = DomainException; class InvalidArgumentException extends BaseException_1.BaseException { } exports.InvalidArgumentException = InvalidArgumentException; class RangeException extends BaseException_1.BaseException { } exports.RangeException = RangeException; class RuntimeException extends BaseException_1.BaseException { } exports.RuntimeException = RuntimeException; class HttpException extends BaseException_1.BaseException { } exports.HttpException = HttpException;