fuel/auth

Throw separate Exceptions in Auth_Login_SimpleAuth

Closed this issue · 2 comments

Checked the code: there are 10 different exceptions being thrown, I don't think 10 different exceptions would be the solution. I'll number them instead, so you can use $e->getCode() to check what the error is.

I agree, in my case this will allow to get translation string by code dumber and I don't need to check all exceptions one by one. Thanks.