fail(reason:)

    Cancels the request execution with a custom Error.

    HTTPHandler.swift:801
    func fail(reason error: Error)

    Parameters

    reason

    the error that is used to fail the promise

    Other members in extension

    Instance members