Skip to content

Commit

Permalink
feat: better message on UnhandledFailure
Browse files Browse the repository at this point in the history
  • Loading branch information
micimize authored Oct 6, 2019
1 parent cf81ec3 commit eccab11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/graphql/lib/src/exceptions/_base_exceptions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ class UnhandledFailureWrapper implements ClientException {
covariant Object failure;

UnhandledFailureWrapper(this.failure);

String toString() => message;
}

ClientException translateFailure(dynamic failure) {
Expand Down

0 comments on commit eccab11

Please # to comment.