You'll probably want to use this method to put a nice default or error message in the part of the screen you were about to refresh, or perhaps redirect the entire browser to an error screen.
您可能需要使用此方法将适当的默认值或错误消息输出到将要刷新的屏幕中,或者可能将整个浏览器重定向到错误屏幕中。
A successful registration will return a confirmation message and redirect the user to the appropriate menu page.
一个成功的注册会返回一条确认消息并指导用户转到适当的菜单页。
Even the redirect page carries useful information: the underlying error message which might be logged and even used to auto-generate a bug report for programmers to deal with later.
重定向页面也提供了有用的信息:基本的错误消息可能被记入日志,甚至自动为程序员生成bug报告,用于后续处理。
That's true. Although you can always redirect stderr and stdout, nothing beats a good command line error message.
这是事实。虽然你总是可以重定向标准输出和标准错误输出,没有什么比命令行错误消息好。
That's true. Although you can always redirect stderr and stdout, nothing beats a good command line error message.
这是事实。虽然你总是可以重定向标准输出和标准错误输出,没有什么比命令行错误消息好。
应用推荐