HttpException constructor

HttpException(
  1. String message,
  2. HttpErrorCode? code
)

Creates an exception which is thrown when there is an HTTP error.

Implementation

HttpException(this.message, this.code);