RequestFailure constructor

RequestFailure(
  1. RequestError error
)

Initialize a newly created exception to return a response with the given error.

Implementation

RequestFailure(this.error);