You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have 'Server Error' default message, if i want change it or make it translatable, i need redefine method convertExceptionToArray and it looks bad i think.
Maybe add method like
protected function getDefaultServerErrorMessage(): string
{
return 'Server Error';
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
What i mean, in this line
framework/src/Illuminate/Foundation/Exceptions/Handler.php
Line 654 in 90ad97c
we have 'Server Error' default message, if i want change it or make it translatable, i need redefine method convertExceptionToArray and it looks bad i think.
Maybe add method like
to do this in more clean way?
Beta Was this translation helpful? Give feedback.
All reactions