Skip to content

Commit 42fdc91

Browse files
fix(gotrue): AuthException .toString method (#1148)
Fix toString method
1 parent 81f9400 commit 42fdc91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/gotrue/lib/src/types/auth_exception.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class AuthException implements Exception {
2121

2222
@override
2323
String toString() =>
24-
'AuthException(message: $message, statusCode: $statusCode, errorCode: $code)';
24+
'AuthException(message: $message, statusCode: $statusCode, code: $code)';
2525

2626
@override
2727
bool operator ==(Object other) {

0 commit comments

Comments
 (0)