UNPKG

eulith-web3js

Version:

Official Eulith Typescript client library

31 lines (30 loc) 785 B
import * as Eulith from "./index"; export declare class API extends Error { /** * Utility for API, to throw (and LOG) the exception. */ static Throw(logger: Eulith.Logging.ILogger, ex: API | { message: string; }): void; constructor({ message }: { message: string; }); } export declare class Timeout extends Error { /** * Utility for Eulith.Exceptions.Timeout, to throw (and LOG) the exception. */ static Throw(logger: Eulith.Logging.ILogger, ex: Timeout | { message: string; }): void; constructor({ message }: { message: string; }); } export declare class RPC extends Error { readonly data: any; constructor({ message, data }: { message: string; data: any; }); }