GeoLeaf Core API - v3.0.0
    Preparing search index...

    Variable ErrorCodesConst

    ErrorCodes: Readonly<
        {
            VALIDATION: "VALIDATION_ERROR";
            SECURITY: "SECURITY_ERROR";
            CONFIG: "CONFIG_ERROR";
            NETWORK: "NETWORK_ERROR";
            INITIALIZATION: "INITIALIZATION_ERROR";
            MAP: "MAP_ERROR";
            DATA: "DATA_ERROR";
            POI: "POI_ERROR";
            ROUTE: "ROUTE_ERROR";
            UI: "UI_ERROR";
        },
    > = ...

    The machine-readable code carried by each error subclass, frozen.

    Keys are the short family names; values are the strings that land on error.code. Compare against these rather than against literals, so a rename stays a compile-time concern.

    GeoLeaf.Errors.ErrorCodes.VALIDATION; // 'VALIDATION_ERROR'
    GeoLeaf.Errors.ErrorCodes.SECURITY; // 'SECURITY_ERROR'
    GeoLeaf.Errors.ErrorCodes.CONFIG; // 'CONFIG_ERROR'
    GeoLeaf.Errors.ErrorCodes.NETWORK; // 'NETWORK_ERROR'
    GeoLeaf.Errors.ErrorCodes.INITIALIZATION; // 'INITIALIZATION_ERROR'
    GeoLeaf.Errors.ErrorCodes.MAP; // 'MAP_ERROR'
    GeoLeaf.Errors.ErrorCodes.DATA; // 'DATA_ERROR'
    GeoLeaf.Errors.ErrorCodes.POI; // 'POI_ERROR'
    GeoLeaf.Errors.ErrorCodes.ROUTE; // 'ROUTE_ERROR'
    GeoLeaf.Errors.ErrorCodes.UI; // 'UI_ERROR'