UNPKG

@dfinity/cmc

Version:

A library for interfacing with the cycle minting canister.

15 lines (14 loc) 425 B
import type { NotifyError } from "../candid/cmc"; export declare class RefundedError extends Error { } export declare class InvalidaTransactionError extends Error { } export declare class CMCError extends Error { } export declare class ProcessingError extends Error { } export declare class TransactionTooOldError extends Error { } export declare const throwNotifyError: ({ Err: error, }: { Err: NotifyError; }) => void;