BusinessError constructor

BusinessError({
  1. required String code,
  2. required String serverMessage,
  3. String? traceId,
  4. dynamic rawResponse,
  5. RequestOptions? requestOptions,
  6. StackTrace? stackTrace,
  7. Object? originalError,
  8. DateTime? timestamp,
})

Implementation

BusinessError({
  required this.code,
  required this.serverMessage,
  this.traceId,
  this.rawResponse,
  super.requestOptions,
  super.stackTrace,
  super.originalError,
  super.timestamp,
}) : super(message: serverMessage);