Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 7 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | function RouterError(message) { |
||
2 | this.name = 'RouterError'; |
||
3 | this.message = (message || ''); |
||
4 | } |
||
5 | RouterError.prototype = Error.prototype; |
||
6 | |||
7 | export default RouterError; |