diff --git a/packages/wyatt_authentication_bloc/lib/src/core/exceptions/exceptions.dart b/packages/wyatt_authentication_bloc/lib/src/core/exceptions/exceptions.dart index 5ef49c83..dbe4b429 100644 --- a/packages/wyatt_authentication_bloc/lib/src/core/exceptions/exceptions.dart +++ b/packages/wyatt_authentication_bloc/lib/src/core/exceptions/exceptions.dart @@ -23,6 +23,9 @@ abstract class AuthenticationFailureInterface extends AppException String code; String msg; + @override + String get message => msg; + AuthenticationFailureInterface(this.code, this.msg); AuthenticationFailureInterface.fromCode(this.code) : msg = 'An unknown error occurred.';