corde
Version:
A simple library for Discord bot tests
18 lines (13 loc) • 377 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.PropertyError = void 0;
const defaults_1 = require("./defaults");
class PropertyError extends Error {
constructor(message = defaults_1.Errors.PROPERTY_ERROR_MESSAGE) {
super(message);
this.name = defaults_1.Errors.PROPERTY_ERROR;
}
}
exports.PropertyError = PropertyError;