Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import makeAppError from './app-error'; |
||
2 | |||
3 | const AppError = makeAppError(RangeError); |
||
4 | |||
5 | class NotImplementedError extends AppError { |
||
6 | get name() { |
||
7 | return 'NotImplementedError'; |
||
8 | } |
||
9 | |||
10 | get errorStatus() { |
||
11 | return 405; |
||
12 | } |
||
13 | } |
||
14 | |||
15 | export default NotImplementedError; |
||
16 |