Describe the bug
A weak password will result in an unhandled exception:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'List<dynamic>' is not a subtype of type 'List<String>'
GotrueFetch._handleError (package:gotrue/src/fetch.dart:61:39)
Expected behavior
I expect to catch the Exception in the first on AuthWeakPasswordException catch (e) block. However, an unhandled exception is thrown.
Screenshots
Version (please complete the following information):
Describe the bug A weak password will result in an unhandled exception:
To Reproduce Steps to reproduce the behavior:
Use this widget that calls the auth flow:
Expected behavior I expect to catch the Exception in the first
on AuthWeakPasswordException catch (e)
block. However, an unhandled exception is thrown.Screenshots
Version (please complete the following information):