Pilot error, to wit failure to follow procedures, was the cause of the accident.
飞行员的失误,即没有遵守操作程序,是事故的原因。
In your own applications, you might consider clearing the username and password when failure occurs because of authentication and adding an error message to the screen.
在我们自己的应用程序中,可以考虑在发生认证失败的情况时清除用户名和密码,并向屏幕上添加一条错误消息。
This script deals with only one possible error: a failure to connect to the database.
这个脚本只处理一个可能的错误:数据库连接故障。
When a build is broken, I want to know immediately so I can take the proper action to fix it — whether that be a compilation error, test failure, or even an increase in overall complexity.
一个构建发生故障时,我希望能够立即知道这一情况,以便就能够采取适当的行动来解决这一问题——不论那是编译错误、测试故障甚或是整体复杂性的增加。
Perhaps silent failure or flag return values would be useful, or another sort of fallback operations for error cases.
无声故障或标志返回值可能会有用,或另一种用于错误例子的后退操作会有用。
The most likely causes of instance failure are human error, service failure, or file corruption.
最有可能导致实例故障的情况包括人为错误、服务失败、或者文件损坏。
This error is usually caused by a basic connection failure, such as attempting to make a non-secured connection with a secure application server.
这个错误通常由基本连接失败引起,例如试图对安全应用程序服务器进行不安全的连接。
Then the error code and failure reason are printed out.
然后输出错误代码和故障原因。
Many documentation tools do not consider failure to include a document to be a fatal error, which can result in some very short documents.
许多文档工具不认为包含文档失败是严重错误,这会导致一些非常短的文档。
Failure to do so normally results in the error shown in listing 3.
初始化失败通常将导致清单3所示的错误。
Otherwise, a failure message about an 403 authorization failed error appears.
否则,显示一个失败消息,指出出现了403授权失败错误。
Other error scenarios may be so extreme that they require their own failure use cases.
其他错误场景也可能非常极端,因而需要各自的错误用例。
Failure to do so will result in the error shown in Figure 34.
失败的操作将导致如图34中所示的错误。
This call either returns zero on success or a non-zero error code on failure.
函数调用成功时返回零,失败时返回非零的错误代码。
These situations often call for special schemas defining information for every specific error, thus effectively extending domain semantic model to describe failure scenarios.
这些情况下,往往需要为每个具体错误使用特定模式来定义信息,这样可以有效地扩展领域语义模型以描述失败场景。
In case of failure, they can check the error message.
当出现失败时,可以查看错误消息。
Identify cause of the failure by going through database manuals and searching for the error codes sent back in the exception.
查阅数据库手册,搜索异常中返回的错误码,从而判断失败的原因。
In the case of failure to connect to the database, the script reports the error to the phone.
如果出现数据库连接故障,脚本将向电话报告错误。
They also have a refreshing attitude to "failure" - everything is viewed as a useful experience, and trial and error is seen as a legitimate path to success.
他们也有一种全新的“失败观”——任何事都是有益的经验,反复试验,不断摸索被他们看成是通往成功的正途。
Have they faced adversity, failure, confusion, error, perceived success, real success?
他们有没有面对过逆境,失败,困惑,错误,预见成功以及真正的成功?
As previously noted under Failure Acceptance, the tests ran with an allowable threshold of 5% for error codes returned.
正如在FailureAcceptance下面所注意的那样,测试运行时的错误代码返回容忍门槛为5%。
The luaL_loadbuffer() function compiles a script into Lua code; if there is a syntax error, this is where the failure is observed.
luaL_loadbuffer()函数将一个脚本编译成Lua代码。如果有语法错误,从这里可以观察到失败。
An error code is provided to indicate which of these failure paths occurred, and the cause of the problem is provided as a linked exception.
doWork方法会提供一个错误代码,表示这些故障发生的路径,还把问题原因作为链接的异常提供。
The report concludes that this error is unlikely to have been key to the cement failure, but it is a pretty striking mistake and others will likely differ on its significance.
BP的报告得出结论认为,难以相信这项错误的关键因素在于固井失败,但这确实是一个重大的失误,其他的失误没有比这一失误显得更为重要。
A single success or failure error is returned to the user.
将一个成功或失败错误返回给用户。
If the validation action fails, the DataPower Appliance will respond to the request with a failure message and the HTTP 500 error code back to the client that initially sent the XML document.
如果验证动作失败,DataPowerAppliance将以一条失败消息响应请求,并将HTTP 500错误码返回给最初发送XML文档的客户机。
If a request is blocked, a Content Manager response indicating a failure is simulated causing the calling client to display an error which indicates that this operation has been prevented.
如果阻止了请求,就会模拟表示失败的ContentManager响应,这导致发出调用的客户机显示错误,向用户表明此操作已经被阻止。
Caching failure: Forgetting to reset an error flag when an error has been corrected.
缓存失败(Caching failure):错误被修正后忘记把错误标志复位。
The callback function first determines whether the call was a success or a failure by accessing the first node in the response: the PHP file returns this result as a node named success or error.
回调函数首先通过访问响应的第一个节点来确定调用是成功还是失败:PHP文件以一个名为success or error的节点返回结果。
Obviously, this would only be desirable during development — at runtime it would be preferable to log this failure to a log4j error stream or something equally less distracting to the user.
很明显,只有在开发过程中这样做才是理想的——在运行时最好将这个错误记录到log4j错误流中,或者记录到不会影响用户的类似内容中。
应用推荐