Files
workavia-mail-front/lib/features/login/domain/exceptions/authentication_exception.dart
T
2022-05-05 11:33:28 +07:00

14 lines
388 B
Dart

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