ResponseError.backendTimeout constructor

ResponseError.backendTimeout({
  1. required String message,
  2. String? context,
  3. String? target,
})

Builds a backend timeout ResponseError with ErrorCode.backendTimeout and:

  • message: The error message
  • context: The context of execution when the error ocurred
  • target: The target entity of the API that triggered this error

Implementation

ResponseError.backendTimeout(
    {required String message, String? context, String? target})
    : this(
          code: ErrorCode.backendTimeout,
          message: message,
          context: context,
          target: target);