opstack-kit-chains
Version:
Support your OP-Stack network with 'opstack-kit'
24 lines • 723 B
TypeScript
type BaseErrorParameters = {
cause?: BaseError | Error | undefined;
details?: string | undefined;
docsBaseUrl?: string | undefined;
docsPath?: string | undefined;
docsSlug?: string | undefined;
metaMessages?: string[] | undefined;
};
export type BaseErrorType = BaseError & {
name: 'ViemError';
};
export declare class BaseError extends Error {
details: string;
docsPath?: string | undefined;
metaMessages?: string[] | undefined;
shortMessage: string;
name: string;
version: string;
constructor(shortMessage: string, args?: BaseErrorParameters);
walk(): Error;
walk(fn: (err: unknown) => boolean): Error | null;
}
export {};
//# sourceMappingURL=base.d.ts.map