这些运行时异常会显示堆栈跟踪,可以帮助开发人员轻松地找到错误的根源。
These runtime exceptions display the stack trace, so that you can easily find the root cause of the error.
注意,这里显示了源代码文件的一部分,足以帮助您确定错误的位置。
Notice how just enough of the source file is displayed to pin-point the error.
现在,如果返回一个错误,您就可以检查错误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.
应用推荐