UNPKG

@rarible/types

Version:

`@rarible/types` is a TypeScript library that provides type definitions and interfaces for the Rarible ecosystem. This package is designed to facilitate seamless integration with Rarible's APIs and services, ensuring type safety and improved developer exp

7 lines (6 loc) 218 B
import { CustomError } from "@rarible/utils"; export class InvalidAddressError extends CustomError { constructor(blockchain, value) { super(`Invalid address ${value} for blockchain ${blockchain}`); } }