@sapphire/framework
Version:
Discord bot framework built for advanced and amazing bots.
20 lines (18 loc) • 667 B
JavaScript
import { __name } from '../../chunk-PAWJFY3S.mjs';
import { UserError } from './UserError.mjs';
var _ArgumentError = class _ArgumentError extends UserError {
constructor(options) {
super({ ...options, identifier: options.identifier ?? options.argument.name });
this.argument = options.argument;
this.parameter = options.parameter;
}
// eslint-disable-next-line @typescript-eslint/class-literal-property-style
get name() {
return "ArgumentError";
}
};
__name(_ArgumentError, "ArgumentError");
var ArgumentError = _ArgumentError;
export { ArgumentError };
//# sourceMappingURL=ArgumentError.mjs.map
//# sourceMappingURL=ArgumentError.mjs.map