initError() function

Reports that a cached method ran while the cache was absent — either start() has not completed, or invalidation could not be established and caching was therefore left off. The method still executes; it is simply not cached.

Signature:

export declare function initError(logger: ILogger, className: string, methodName: string, decorator: Function): void;

Parameters

Parameter

Type

Description

logger

ILogger

logger to report through

className

string

service class whose cache is missing

methodName

string

cached method that was called too early

decorator

Function

decorator that found the cache absent

Returns:

void

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.