@rightcapital/exceptions
Version:
TypeScript Exception definitions inspired by PHP SPL Exceptions etc...
16 lines • 553 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidArgumentException = void 0;
const logic_exception_1 = require("./logic.exception");
/**
* Exception thrown if an argument is not of the expected type.
* @public
*/
class InvalidArgumentException extends logic_exception_1.LogicException {
constructor() {
super(...arguments);
this.name = 'InvalidArgumentException';
}
}
exports.InvalidArgumentException = InvalidArgumentException;
//# sourceMappingURL=invalid-argument.exception.js.map