localError function

DRException localError(
  1. String code, {
  2. Map<String, Object?>? details,
  3. String? message,
  4. int? retryAfter,
  5. Object? cause,
})

Implementation

DRException localError(String code, {Map<String, Object?>? details, String? message, int? retryAfter, Object? cause}) =>
    DRException(code: code, details: details, message: message, source: ErrorSource.local, retryAfter: retryAfter, cause: cause);