我插话道,“返回一个错误编码不可以吗?”
问题:mkuser可能返回一个错误消息。
任何一边都可能返回一个错误,如下面所定义。
它应该会返回一个错误,而结果的确如此。
否则,ALTER命令将返回一个错误。
如果我把语法错误在文件将返回一个错误。
If I put syntax errors inside a file the make returns an error.
如果语句执行返回一个错误,过程将自动中断或回滚事务。
If statement execution returns an error, the procedure is automatically aborted or the transaction is rolled back.
如果成功返回s_ok,否则返回一个错误值。
在这种情况下,过程会立即退出并向调用者返回一个错误状态。
In this case, the procedure exits immediately and returns a failing status to the caller.
您正在创建一个新目录,突然,流行的mkdir命令返回一个错误。
You are working to create a new directory, and suddenly, the popular mkdir command returns an error.
如果指定的名称在操作系统中同时定义为用户和组,那么返回一个错误。
If the specified name is defined in the operating system as both, an error is returned.
如果搜索了所有的基本DN而没有找到匹配项,将返回一个错误。
A failure is returned if all of the base DNs are searched without finding a match.
如果处理程序返回一个错误状态,所有阶段将停止,请求将被中止。
All phases will stop and the request will be aborted if a handler returns an error status.
它将促使返回一个错误或警告,包含指定的SQLSTATE以及可选的消息文本。
It causes an error or warning to be returned with the specified SQLSTATE, along with optional message text.
如果目的地已解析,则将原始用户请求转发到该目的地;否则向用户返回一个错误。
If the destination was resolved, the original user request is forwarded to the destination; otherwise an error is returned to the user.
如果在两个线程交叠时调用rand,它就可能返回一个错误的随机数。
If calls to rand from two threads overlap, it is possible for the wrong Numbers to be returned.
如果没有足够的库存来满足订单的需要,就会适当地设置订单的状态并返回一个错误。
If there is insufficient stock to fulfill the order, the order's status is set appropriately and an error is returned.
它首先检查看返回给用户的内容代表一个错误对象,也就是说它返回一个错误给用户。
It first checks to see whether the content returned to the user represents a fault object, meaning that it is returning an error to the user.
如果工件不能满足验证插件指定的所有需求,操作就不会发生,并且会返回一个错误。
If the artifact does not meet all the requirements specified by the validation plug-in, the operation will not occur, and an error is returned.
另一种可能性是向用户返回一个错误(例如,如果用户正在购买一个不再销售的商品)。
Another possibility is to return an error to the user (for example, if the user is trying to buy an item that's no longer available).
当测试员根据升级的程序来测试保存的脚本时,回馈可能会返回一个错误,说不能找到对象。
When testers play back the saved scripts against the upgraded application, playback might return an error that indicates that an object cannot be found.
在用户选择的新闻类型无效的情况下,模型将返回一个错误代码,而不是返回标题。
In case the user's choice of news type was invalid, the model would return an error code, rather than the headlines.
当发布消息的时候,消息必须被正确路由到一个有效的队列,否则将返回一个错误。
When publishing a message, the message must be routed to a valid queue. If it is not, an error will be returned.
从命令的输出可以看到,如果获得的状态代码与预期的代码不匹配,将返回一个错误。
As you can see from the output of the command, it only returns an error if it gets a status code that doesn't match what is expected.
现在,如果返回一个错误,您就可以检查错误ID,而不只是显示对用户没有帮助的默认错误消息。
Now, when an error is returned, you check for the error ID rather than simply displaying a default error message that isn't helpful to the user.
如果用户试图添加或创建超出该限制的文件,那么将返回一个错误(超出文件系统空间)。
If a user tries to add or create a file that goes beyond that level, an error is returned (out of file system space).
例如,第一个EXPECT _ CALL表示会调用FetchTaxRate并返回一个错误。
For example, the first EXPECT_CALL says that FetchTaxRate will be called and will return an error.
注意:函数只接受Unicode编码的字符串。当传进非unicode字符串时它会返回一个错误。
Caveat: The function only accepts Unicode strings, and will return an error if non-Unicode strings are passed in.
如果用户指定了这些选项,但是与数据源上的选项值有冲突,那么返回一个错误(SQL 1255n)。
If the user specifies these options, and there is a conflict with the option value at the data source, an error is returned (SQL 1255n).
你可能会问,为喵我们该忽略回调队列中的未知消息呢,而不是置为处理失败并返回一个错误?
You may ask, why should we ignore unknown messages in the callback queue, rather than failing with an error?
应用推荐