芝麻web文件管理V1.00
编辑当前文件:/home/projzpbv/www/wp-content/plugins/mailpoet/lib/API/JSON/ErrorHandler.php
defaultErrors[Error::UNKNOWN] = __('An unknown error occurred.', 'mailpoet'); if ($e instanceof Exception) { $errors = $e->getErrors() ?: $this->defaultErrors; $statusCode = $e instanceof HttpAwareException ? $e->getHttpStatusCode() : Response::STATUS_UNKNOWN; return new ErrorResponse($errors, [], $statusCode); } return new ErrorResponse($this->defaultErrors, [], Response::STATUS_UNKNOWN); } }