src/index.js
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 24
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
eloc 21
mnd 0
bc 0
fnc 0
dl 0
loc 24
ccs 1
cts 1
cp 1
bpm 0
cpm 0
noi 0
c 0
b 0
f 0
1
import makeAppError from './app-error.js';
2
import AuthenticationError from './authentication-error.js';
3
import NoContentError from './no-content-error.js';
4
import NotFoundError from './not-found-error.js';
5
import NotImplementedError from './not-implemented-error.js';
6
import ServerError from './server-error.js';
7
import TimeoutError from './timeout-error.js';
8
import ValidationError from './validation-error.js';
9
import RateLimitError from './rate-limit-error.js';
10
11 9
const AppError = makeAppError();
12
13
export {
14
    makeAppError,
15
    AppError,
16
    AuthenticationError,
17
    NoContentError,
18
    NotFoundError,
19
    NotImplementedError,
20
    ServerError,
21
    TimeoutError,
22
    ValidationError,
23
    RateLimitError,
24
};
25