diff --git a/packages/gotrue/lib/src/types/auth_exception.dart b/packages/gotrue/lib/src/types/auth_exception.dart index 683e6b2fc..461ddaedb 100644 --- a/packages/gotrue/lib/src/types/auth_exception.dart +++ b/packages/gotrue/lib/src/types/auth_exception.dart @@ -20,7 +20,7 @@ class AuthException implements Exception { @override String toString() => - 'AuthException(message: $message, statusCode: $statusCode, errorCode: $code)'; + 'AuthException(message: $message, statusCode: $statusCode, code: $code)'; @override bool operator ==(Object other) {