Skip to content

Commit

Permalink
fix(errors): return error in toString
Browse files Browse the repository at this point in the history
Signed-off-by: Taranjeet Singh <[email protected]>
  • Loading branch information
singhtaranjeet committed Aug 25, 2023
1 parent 5038b6d commit d1c9a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/exceptions/errors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,5 @@ class RequestCancelError extends DioError {
);

@override
String toString() => message;
String toString() => error;
}

0 comments on commit d1c9a1a

Please sign in to comment.