Pebble App Framework: Phone API
    Preparing search index...

    Type Alias FetchFailureKind

    FetchFailureKind: "HTTP" | "TIMEOUT" | "NOT_ALLOWED" | "FAILED"

    The kinds of failure fetchFailure sorts a fetch into, each a code a plugin app can keep and show on its settings page:

    • HTTP, an answer with a status other than 2xx, which fetchFailure carries beside it, so it reads HTTP 404
    • TIMEOUT, a fetch given up or aborted before the answer came
    • NOT_ALLOWED, a host the Pebble app refused because the wearer has not allowed it
    • FAILED, anything else, such as no network or a body that could not be read