viem
Version:
21 lines • 716 B
JavaScript
import { BaseError } from '../../errors/base.js';
export class ExecuteUnsupportedError extends BaseError {
constructor() {
super('ERC-7821 execution is not supported.', {
name: 'ExecuteUnsupportedError',
});
}
}
export class FunctionSelectorNotRecognizedError extends BaseError {
constructor() {
super('Function is not recognized.', {
metaMessages: [
'This could be due to any of the following:',
' - The contract does not have the function,',
' - The address is not a contract.',
],
name: 'FunctionSelectorNotRecognizedError',
});
}
}
//# sourceMappingURL=errors.js.map