I have a login and register methods that don\'t catch the exceptions and I don\'t know why.
static Future register(BuildContext context, {