You then check if this field has any value at all or is not numeric, and, if either of these conditions hold true, you return an error.
您要检查这个字段是否没有任何值或者不是数字的,以及如果出现这两种情况中的一种,您应该返回一个错误。
If opening the query is successful, it will return the value ERROR_SUCCESS; otherwise an error code will be returned.
如果成功地开始了此查询,那么它将返回值error_success;否则将返回错误的代码。
I emit an error message and replace the return value with 0, instead (remember: every inline code block returns an object).
我发出错误信息,将返回值替换为0(请记住:每个内联代码块都返回一个对象)。
The first mistake that nonnative speakers make is to return a value indicating an error, instead of throwing an exception.
非原生语言使用者的第一类错误是返回一个表示错误的值,而不是抛出异常。
The adapter method can report the error in detail and return a value indicating that the error was handled.
这个配接器方法可以报告错误的详细资料,并会传回表示错误已经处理的值。
The severity code indicates whether the return value represents information, warning, or error.
严重性代码指示返回值是表示信息、警告还是错误。
If not all the requested information is retrieved, the return value is zero (0). To get extended error information, call.
如果所有要求的信息都被获取成功,返回非0值。
If not all the requested information is retrieved, the return value is zero (0). To get extended error information, call.
如果所有要求的信息都被获取成功,返回非0值。
应用推荐