/** * Internal error * * This custom error class simply serves to identify * errors that should only occur due to problems with * internal code (e.g. not overriding a base method properly) or * configuration (e.g. not setting an environment variable). * * Messages should be written for developers using this library, * not for end users. */ import { Method, Params } from './Executor'; export declare class InternalError extends Error { constructor(message: string); } export declare class MethodUnknownError extends Error { /** * The name of the parameter that is required. */ method: string; constructor(method: string); } export declare class ParamRequiredError extends Error { /** * The name of the parameter that is required. */ param: string; constructor(param: string); } /** * Capability error * * This custom error class to indicate that * an executor is not capable of performing a * method call. * * Messages should be written for developers using this library, * not for end users. */ export declare class CapabilityError extends Error { constructor(message?: string, method?: Method, params?: Params); static message(message: string, method: Method, params: Params): string; }