|
@@ -100,7 +100,7 @@ class Handler extends ExceptionHandler
|
100
|
100
|
foreach ($exception->errors() as $col => $errorMsg) {
|
101
|
101
|
$validationData['errors']['validation'][$col] = $errorMsg[0];
|
102
|
102
|
}
|
103
|
|
- return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed'), $validationData);
|
|
103
|
+ return $this->apiExceptionResponse($exception, Response::HTTP_UNPROCESSABLE_ENTITY, config('response-message.validation_failed123'), $validationData);
|
104
|
104
|
}
|
105
|
105
|
|
106
|
106
|
// Others: 500 error
|