/** * Context: `call` and `inline` * Errors inherited by this class are not cached. */ export declare class IgnoreCacheError extends Error { } /** * Context: `call` and `inline` * The property `forceResult` will be treated as the normal return value * of an API function. This also can be used for `CacheHandler` functions * `call` and `inline`. */ export declare class SetResultError extends Error { forceResult: T; constructor(forceResult: T); } /** * Error thrown by the `CacheHandler.waitKey` function. */ export declare class WaitTimedOut extends IgnoreCacheError { } /** * Context: `inline` * Internal error which will be raised when the `CacheHandler.inline` * function had a hit. */ export declare class CacheFoundError { result: any; error: null | Error; constructor(result: any, error: null | Error); }