FeignException constructor

FeignException(
  1. int status,
  2. String message, {
  3. HttpRequest? request,
  4. String? responseBody,
  5. HttpHeaders? responseHeaders,
  6. Object? cause,
})

A failure with status (-1 without a response) and message.

Implementation

FeignException(
  this.status,
  this.message, {
  this.request,
  this.responseBody,
  this.responseHeaders,
  this.cause,
});