【文件属性】:
文件名称:ng-error-handler:AngularJS 的本地化错误处理程序
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-05 06:44:22
JavaScript
错误处理程序
AngularJS 的本地化错误处理程序
依赖关系
当然有
用于本地化支持的
用于使错误框看起来不错的
演示
小提琴中提供了如何在页面上使用 cdevErrorBox 指令的示例。
安装
$ bower install ng-error-handler
文档
cdev默认错误代码
cdevErrorHandling 模块中的常量
定义要使用的回退错误代码。
cdev默认错误消息
cdevErrorHandling 模块中的常量
定义要使用的回退错误消息。
cdevErrorEventName
cdevErrorHandling 模块中的常量
定义通过 $rootScope 通知时要使用的事件名称。
cdevErrorHandler
cdevErrorHandling 模块中的服务
提供处理和格式化错误的方法。 format 方法将尝试通过 $translate 服务检索本
【文件预览】:
ng-error-handler-master
----.jshintrc(450B)
----.gitignore(47B)
----gruntfile.js(2KB)
----package.json(1019B)
----src()
--------error-handler.js(4KB)
----karma.conf.js(2KB)
----.bowerrc(56B)
----.travis.yml(182B)
----dist()
--------error-handler.min.js(1KB)
--------error-handler.js(4KB)
----LICENSE(1KB)
----README.md(2KB)
----bower.json(822B)
----test()
--------.jshintrc(679B)
--------error-handlerSpec.js(6KB)