Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | const DataException = function(message) |
||
2 | { |
||
3 | this.message = message; |
||
4 | this.name = 'DataException'; |
||
5 | } |
||
6 | const EditorException = function(message) |
||
7 | { |
||
8 | this.message = message; |
||
9 | this.name = 'EditorException'; |
||
10 | } |
||
11 | |||
12 | export { |
||
13 | DataException, |
||
14 | EditorException |
||
15 | } |
||
16 |