viem
Version:
13 lines (11 loc) • 359 B
text/typescript
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',
})
}
}