shelving
Version:
Toolkit for using data in JavaScript.
8 lines (7 loc) • 452 B
TypeScript
import { type BaseError, type BaseErrorOptions } from "./BaseError.js";
/** Thrown in the event of network issues e.g. the user's internet connection is down, or the server is down. */
export declare class NetworkError extends Error implements BaseError {
/** Provide additional named contextual data that is relevant to the `Error` instance. */
readonly [key: string]: unknown;
constructor(message?: string, options?: BaseErrorOptions);
}