APICallError constructor

APICallError(
  1. String message, {
  2. int status = -1,
  3. int retryMs = -1,
  4. bool retryable = false,
  5. String? providerCode,
  6. String? providerMessage,
  7. String? url,
  8. dynamic requestBodyValues,
  9. Map<String, String>? responseHeaders,
  10. String? responseBody,
  11. dynamic data,
})

Implementation

APICallError(super.message,
    {super.status,
    super.retryMs,
    super.retryable,
    this.providerCode,
    this.providerMessage,
    this.url,
    this.requestBodyValues,
    this.responseHeaders,
    this.responseBody,
    this.data})
    : super(code: AimuxErrorCode.apiCall);