update database
This commit is contained in:
@@ -24,7 +24,7 @@ class AuthorizationException extends Exception
|
||||
*/
|
||||
public function __construct($message = null, $code = null, Throwable $previous = null)
|
||||
{
|
||||
parent::__construct($message ?? 'This action is unauthorized.', 0, $previous);
|
||||
parent::__construct($message ?? 'Это действие не авторизовано.', 0, $previous);
|
||||
|
||||
$this->code = $code ?: 0;
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ class ValidationException extends Exception
|
||||
*/
|
||||
public function __construct($validator, $response = null, $errorBag = 'default')
|
||||
{
|
||||
parent::__construct('The given data was invalid.');
|
||||
parent::__construct('Указанные данные недействительны.');
|
||||
|
||||
$this->response = $response;
|
||||
$this->errorBag = $errorBag;
|
||||
|
||||
Reference in New Issue
Block a user