is('api/*')) { return ApiExceptions::render($request, $exception); } else { return parent::render($request, $exception); } } }