mirror of https://github.com/apache/cloudstack.git
51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
#Licensed to the Apache Software Foundation (ASF) under one
|
||
#or more contributor license agreements. See the NOTICE file
|
||
#distributed with this work for additional information
|
||
#regarding copyright ownership. The ASF licenses this file
|
||
#to you under the Apache License, Version 2.0 (the
|
||
#"License"); you may not use this file except in compliance
|
||
#with the License. You may obtain a copy of the License at
|
||
#http://www.apache.org/licenses/LICENSE-2.0
|
||
#Unless required by applicable law or agreed to in writing,
|
||
#software distributed under the License is distributed on an
|
||
#"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
#KIND, either express or implied. See the License for the
|
||
#specific language governing permissions and limitations
|
||
#under the License.
|
||
#
|
||
# Translators:
|
||
msgid ""
|
||
msgstr ""
|
||
"Project-Id-Version: Apache CloudStack Docs\n"
|
||
"POT-Creation-Date: 2013-03-19T13:38:03\n"
|
||
"PO-Revision-Date: 2013-01-02 14:48+0000\n"
|
||
"Last-Translator: tiansiyuan <tiansiyuan@gmail.com>\n"
|
||
"Language-Team: None\n"
|
||
"MIME-Version: 1.0\n"
|
||
"Content-Type: text/plain; charset=UTF-8\n"
|
||
"Content-Transfer-Encoding: 8bit\n"
|
||
"Language: zh_CN\n"
|
||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||
|
||
#. Tag: title
|
||
#, no-c-format
|
||
msgid "Error Handling"
|
||
msgstr "错误处理"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"If an error occurs while processing an API request, the appropriate response"
|
||
" in the format specified is returned. Each error response consists of an "
|
||
"error code and an error text describing what possibly can go wrong. For an "
|
||
"example error response, see page 12."
|
||
msgstr "如果处理API请求时发生错误,指定的格式的相应响应被返回。每一个错误响应包括错误代码和描述可能会出问题的错误文本。一个错误响应的例子,请参阅第12页。"
|
||
|
||
#. Tag: para
|
||
#, no-c-format
|
||
msgid ""
|
||
"An HTTP error code of 401 is always returned if API request was rejected due"
|
||
" to bad signatures, missing API Keys, or the user simply did not have the "
|
||
"permissions to execute the command."
|
||
msgstr "如果因为不好的签名,缺少API密钥,或者用户根本就没有执行命令的权限,API请求被拒绝,总是返回一个HTTP 401的错误代码。"
|