We've already said that when kernel code misbehaves, an informative message is printed on the console.
我们已经说过当内核代码出现错误时,相关的消息会被输出到控制台上。
For files that can't abide an ID3 tag for various reasons, I print an informative message and skip them.
对于那些由于种种原因不能使用ID 3标签的文件,打印一条消息给出信息,并跳过它们。
For example, when a constraint is violated, you might want to provide a link from the informative message to the field that is primarily responsible for the violation.
例如,当违反条件时,可能希望在信息性消息中提供违反条件的字段的链接。
In each case, the message can be as informative as I like because I'm configuring it myself.
因为消息是我自己配置的,在每一种情况下,它都可以按照我需要的那样提供信息。
If you choose to use this code in your own system be sure to check if a location is returned and present an informative error message to the user if a location isn't resolved.
如果您选择在自己的系统中使用该代码,一定要检查是否会返回位置并且如果未对某个位置进行解析时为用户呈现一条告知性的错误消息。
On the other hand, if a possibility exists that the user can't guess why an option isn't available, it might be better to let the user attempt an action and get an informative error message.
另一方面,如果存在这种可能性:用户不能猜测出一个选项不可用的原因,这时让用户尝试操作并获得包含信息的消息也许会更好。
You get a message asking how your day went or if you'll be free at a certain time, so you send back a detailed and informative reply.
你收到一条短信,问你过得怎样或某个时间是否有空,你很详细、很实在地回复了短信。
Note that, if the mkdir call can't create the requested directory for any reason, it will produce a slightly more precise and informative error message.
要注意的是,如果mkdir调用由于某种原因不能创建请求的目录,它就会生成一个更准确,信息更丰富的错误信息。
The luaL_checknumber() function can also be used to check arguments, printing an informative error message and aborting execution of the function.
luaL_checknumber()函数还可以用于检查参数,并且还能打印包含信息的错误消息,以及中断函数的执行。
The luaL_checknumber() function can also be used to check arguments, printing an informative error message and aborting execution of the function.
luaL_checknumber()函数还可以用于检查参数,并且还能打印包含信息的错误消息,以及中断函数的执行。
应用推荐