protected serverError ( League\OAuth2\Server\Exception\OAuthException $e ) : mixed | ||
$e | League\OAuth2\Server\Exception\OAuthException | |
Результат | mixed |
protected function serverError(OAuthException $e)
{
return Response::make(['errors' => ['status' => '500', 'code' => 'ServerError', 'title' => 'Server Error', 'detail' => $e->getMessage()]], 500);
}