@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
27 lines • 778 B
TypeScript
import { ApiError } from "@lodestar/api/server";
export { ApiError };
export declare class StateNotFound extends ApiError {
constructor();
}
export declare class DataNotAvailable extends ApiError {
constructor();
}
export declare class ValidationError extends ApiError {
dataPath?: string;
constructor(message?: string, dataPath?: string);
}
export declare class NodeIsSyncing extends ApiError {
constructor(statusMsg: string);
}
export declare class OnlySupportedByDVT extends ApiError {
constructor();
}
export declare class IndexedError extends ApiError {
failures: FailureList;
constructor(message: string, failures: FailureList);
}
export type FailureList = {
index: number;
message: string;
}[];
//# sourceMappingURL=errors.d.ts.map