如果没有足够的库存来满足订单的需要,就会适当地设置订单的状态并返回一个错误。
If there is insufficient stock to fulfill the order, the order's status is set appropriately and an error is returned.
例如,第一个EXPECT _ CALL表示会调用FetchTaxRate并返回一个错误。
For example, the first EXPECT_CALL says that FetchTaxRate will be called and will return an error.
你可能会问,为喵我们该忽略回调队列中的未知消息呢,而不是置为处理失败并返回一个错误?
You may ask, why should we ignore unknown messages in the callback queue, rather than failing with an error?
当错误发生时,或者在您希望向用户返回一个故障时,设置 WS_FAULT对象,并使用一个 Exit函数或 Exit 子语句退出方法。
When an error occurs or when you want to return a fault to the user, set the WS_FAULT object and exit the method with an Exit function or Exit sub statement.
限制:DB2发出的任何创建大于shmmax值(这里是2gb)的数据库共享内存集的请求都将失败,并返回一个outofmemorytype错误。
Limit: Any request by DB2 to create a database share memory set which is larger then the shmmax value (2gb in this case) will fail with an out of memory type error.
它将完成一些处理并返回一个方法返回消息或者错误消息。
It will do some processing and return either a method return message or an error message.
处理一个文档并根据业务逻辑返回一组错误消息。
Process a document and return a set of error messages according to business logic.
如果发生错误,比如公式中包含无效的数据,就会激活后续处理程序,并返回一个负的默认值(- 999999999999.99)。
If an error occurs, i.e., the formula contains invalid data, a continue handler will be activated and a negative default value (-999999999999.99) will be returned.
提交表单后消息或警告框中立即列出所有的错误,并使用域的focus方法让用户返回到第一个要纠正错误不正确的域。
On submission all the errors are listed in a single message or alert box, and the user is returned to the first incorrect field using the fields focus method to correct the errors.
提交表单后消息或警告框中立即列出所有的错误,并使用域的focus方法让用户返回到第一个要纠正错误不正确的域。
On submission all the errors are listed in a single message or alert box and the user is returned to the first incorrect field using the fields focus method to correct the errors.
如果文件中有一个语法错误,maildrop显示一个错误信息,并返回EX_TEMPFAIL。
If there are syntax errors in the file, maildrop displays an error message, and returns EX_TEMPFAIL.
如果文件中有一个语法错误,maildrop显示一个错误信息,并返回EX_TEMPFAIL。
If there are syntax errors in the file, maildrop displays an error message, and returns EX_TEMPFAIL.
应用推荐