SmartUploadException constructor

SmartUploadException(
  1. String message, {
  2. UploadErrorCode errorCode = UploadErrorCode.unknown,
  3. Object? cause,
  4. StackTrace? stackTrace,
  5. bool? retryable,
})

Creates an exception with an explicit errorCode.

Implementation

SmartUploadException(
  this.message, {
  this.errorCode = UploadErrorCode.unknown,
  this.cause,
  this.stackTrace,
  bool? retryable,
}) : _retryable = retryable;