FetchException.fromHttpError constructor

FetchException.fromHttpError(
  1. int? errorCode,
  2. String reasonPhrase
)

Create a FetchException as the result of a HTTP error.

Implementation

FetchException.fromHttpError(this.errorCode, String reasonPhrase)
    : super(reasonPhrase);