HttpError constructor

const HttpError(
  1. int status,
  2. String message, {
  3. Headers? headers,
})

Creates an HTTP failure.

Implementation

const HttpError(this.status, this.message, {this.headers});