error property

Object? error
final

The original error/exception object; It's usually not null when type is DioExceptionType.unknown.

Implementation

final Object? error;