UNPKG

@bigmi/react

Version:

React primitives for Bitcoin apps.

12 lines (10 loc) 349 B
import { BaseError } from '@bigmi/core' export type BigmiProviderNotFoundErrorType = BigmiProviderNotFoundError & { name: 'BigmiProviderNotFoundError' } export class BigmiProviderNotFoundError extends BaseError { override name = 'BigmiProviderNotFoundError' constructor() { super('`useConfig` must be used within `BigmiProvider`.') } }