error property

InterruptReason? get error

Why the download was interrupted. Several kinds of HTTP errors may be grouped under one of the errors beginning with SERVER_. Errors relating to the network begin with NETWORK_, errors relating to the process of writing the file to the file system begin with FILE_, and interruptions initiated by the user begin with USER_.

Implementation

InterruptReason? get error => _wrapped.error?.let(InterruptReason.fromJS);
set error (InterruptReason? v)

Implementation

set error(InterruptReason? v) {
  _wrapped.error = v?.toJS;
}