Files
workavia-mail-front/lib/features/login/domain/exceptions/authentication_exception.dart
T
2021-07-29 11:42:41 +07:00

14 lines
376 B
Dart

import 'package:equatable/equatable.dart';
abstract class AuthenticationException extends Equatable {
static final wrongCredential = 'Credential is wrong';
AuthenticationException(String message);
}
class BadCredentials extends AuthenticationException {
BadCredentials() : super(AuthenticationException.wrongCredential);
@override
List<Object> get props => [];
}