Error   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace u2flib_server;
4
5
/**
6
 * Error class, returned on errors
7
 */
8
class Error extends \Exception
9
{
10
    /**
11
     * Override constructor and make message and code mandatory.
12
     * @param string $message
13
     * @param int $code
14
     * @param \Exception|null $previous
15
     */
16
    public function __construct($message, $code, \Exception $previous = null)
17
    {
18
        parent::__construct($message, $code, $previous);
19
    }
20
}
21