opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
17 lines (14 loc) • 375 B
text/typescript
import { BaseError } from '../../errors/base.js'
export type TokenIsEthErrorType = TokenIsEthError & {
name: 'TokenIsEthError'
}
export class TokenIsEthError extends BaseError {
override name = 'TokenIsEthError'
constructor() {
super(
['Token is an ETH token.', '', 'ETH token cannot be retrieved.'].join(
'\n',
),
)
}
}