This is the documentation of version 0.64.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable sdkErrorCodesConst

    sdkErrorCodes: readonly [
        "INVALID_REQUEST",
        "INSECURE_BASE_URL",
        "API_KEY_REJECTED",
        "NOT_FOUND",
        "RATE_LIMITED",
        "SERVICE_UNAVAILABLE",
        "NETWORK_ERROR",
        "ABORTED",
        "WEBGL_UNSUPPORTED",
        "WEBGL_CONTEXT_LOST",
        "STYLE_LOAD_FAILED",
        "UNEXPECTED",
    ] = ...

    Every value an SDK error's code takes: services' SDKError and the map's TomTomMapError share them.