Interface WarningCollector

interface WarningCollector {
    warnings: WebMapWarning[];
    child(segment: string): WarningCollector;
    warn(code: string, message: string, context?: Record<string, unknown>): void;
}

Properties

Methods

Properties

warnings: WebMapWarning[]

All warnings collected so far (shared across parent/child).

Methods