UNPKG

viem

Version:

TypeScript Interface for Ethereum

13 lines (11 loc) 359 B
import { BaseError } from './base.js' export type FilterTypeNotSupportedErrorType = FilterTypeNotSupportedError & { name: 'FilterTypeNotSupportedError' } export class FilterTypeNotSupportedError extends BaseError { constructor(type: string) { super(`Filter type "${type}" is not supported.`, { name: 'FilterTypeNotSupportedError', }) } }