本节描述如何检查网页上的错误并建立全域错误处理常式。
This section describes how to check for errors in your pages and create global error handlers.
在错误处理常式中,可测试查看使用者是否为本机使用者,并据此反应。
In your error handler, you can test to see whether the user is local and react accordingly.
参数会针对无法编码的字元以及无法解码的位元组序列指定错误处理常式。
Parameters specify an error handler for characters that cannot be encoded and byte sequences that cannot be decoded.
应用推荐