app/handlers/index.js
last analyzed

Complexity

Total Complexity 0
Complexity/F 0

Size

Lines of Code 11
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
wmc 0
eloc 8
nc 1
mnd 0
bc 0
fnc 0
dl 0
loc 11
bpm 0
cpm 0
noi 1
c 0
b 0
f 0
1
const Compose = require ('koa-compose')
2
3
const HttpError = require('./http_error')
4
const InternalError = require('./internal_error')
0 ignored issues
show
Comprehensibility introduced by
You are shadowing the built-in type InternalError. This makes code hard to read, consider using a different name.
Loading history...
5
const Input = require('./input')
6
7
module.exports = Compose([
8
	Input,
9
	InternalError,
10
	HttpError
11
])
12
13