@heumes-it/expo-mapbox-navigation - v0.1.0
    Preparing search index...

    Interface DirectionsError

    Error shape rejected from MapboxNavigation.requestRoutes and other async methods. Codes:

    • NO_TOKENsetAccessToken was not called
    • INVALID_INPUT — fewer than 2 waypoints, bad coordinates, etc.
    • NETWORK — transport failed
    • NO_ROUTE — SDK returned no routes
    • UNKNOWN — anything else, with the SDK's message verbatim
    interface DirectionsError {
        code: "NO_TOKEN" | "INVALID_INPUT" | "NETWORK" | "NO_ROUTE" | "UNKNOWN";
        message: string;
    }
    Index

    Properties

    Properties

    code: "NO_TOKEN" | "INVALID_INPUT" | "NETWORK" | "NO_ROUTE" | "UNKNOWN"
    message: string