Each object also contains an error status and error message.
各个对象还包含一个错误状态和错误消息。
If validation fails, the error message associated with the failing validation method for the object is added to an error list.
如果检验失败,那么把与失败的对象检验方法相关联的错误消息添加到错误列表。
When there is an error due to policy violations based on the current white list in effect, the proxy sends a custom JSON error object back to the browser. See listing 1.
根据当前生效的白名单,因策略违规而导致错误时,代理会向浏览器发送一个自定义的JSON错误对象,如清单1所示。
应用推荐