HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/quadcode/node_modules/ts-interface-checker/dist/util.d.ts
/**
 * Error thrown by validation. Besides an informative message, it includes the path to the
 * property which triggered the failure.
 */
export declare class VError extends Error {
    path: string;
    constructor(path: string, message: string);
}
/**
 * IContext is used during validation to collect error messages. There is a "noop" fast
 * implementation that does not pay attention to messages, and a full implementation that does.
 */
export interface IContext {
    fail(relPath: string | number | null, message: string | null, score: number): false;
    unionResolver(): IUnionResolver;
    resolveUnion(ur: IUnionResolver): void;
}
/**
 * This helper class is used to collect error messages reported while validating unions.
 */
export interface IUnionResolver {
    createContext(): IContext;
}
/**
 * IErrorDetail describes errors as returned by the validate() and validateStrict() methods.
 */
export interface IErrorDetail {
    path: string;
    message: string;
    nested?: IErrorDetail[];
}
/**
 * Fast implementation of IContext used for first-pass validation. If that fails, we can validate
 * using DetailContext to collect error messages. That's faster for the common case when messages
 * normally pass validation.
 */
export declare class NoopContext implements IContext, IUnionResolver {
    fail(relPath: string | number | null, message: string | null, score: number): false;
    unionResolver(): IUnionResolver;
    createContext(): IContext;
    resolveUnion(ur: IUnionResolver): void;
}
/**
 * Complete implementation of IContext that collects meaningfull errors.
 */
export declare class DetailContext implements IContext {
    private _propNames;
    private _messages;
    private _score;
    fail(relPath: string | number | null, message: string | null, score: number): false;
    unionResolver(): IUnionResolver;
    resolveUnion(unionResolver: IUnionResolver): void;
    getError(path: string): VError;
    getErrorDetail(path: string): IErrorDetail | null;
}