-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$e->getMessage() #21
Comments
I have the same problem |
@gugasobrinho @tookit I had the same issue, Taking a look into the package in the file LaravelValidator,php there is a function Passes which never receives an array of custom messages, I just have overriden it in my entity validator (in my case SkillValidator) with the difference this time i am giving messages array.
I hope it may help you. :) |
This still does not work, when i use $e->getMessage() returns {"error":true,"message":""} |
Use getMessageBag method instead getMessage:
|
MessageBag returns => |
I am using the package and run $ e- > getMessage ( ) , I come across " "
If you run $ e- > getMessageBag ( ) , run into return without customization
The text was updated successfully, but these errors were encountered: