Completed
Push — master ( 62f973...a6381b )
by Arthur
12s
created

src/components/Exceptions.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 15
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
wmc 2
c 1
b 0
f 0
nc 1
mnd 0
bc 2
fnc 2
dl 0
loc 15
rs 10
bpm 1
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A Exceptions.js ➔ EditorException 0 5 1
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