Files
flutter-samples/packages/chatty/lib/domain/exceptions/auth_exception.dart
T
Neevash Ramdial (Nash) 030c3eb428 Improve repo structure (#22)
* app updated

* readme updated

* rename base folder

* update chatty's readme

* move apps to packages dir

* update repo overview

Co-authored-by: diegoveloper <diego.velasquez.lopez@gmail.com>
2021-03-10 15:18:00 -04:00

11 lines
157 B
Dart

enum AuthErrorCode {
not_auth,
not_chat_user,
}
class AuthException implements Exception {
AuthException(this.error);
final AuthErrorCode error;
}