AuthenticationException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 9/15/17
7
 * Time: 11:18 PM
8
 */
9
10
namespace Tfboe\FmLib\Exceptions;
11
12
13
use Throwable;
14
15
/**
16
 * Class AuthenticationException
17
 * @package Tfboe\FmLib\Exceptions
18
 */
19
class AuthenticationException extends AbstractException
20
{
21
//<editor-fold desc="Constructor">
22
  /**
23
   * AuthenticationException constructor.
24
   * @param string $message
25
   * @param Throwable|null $previous
26
   */
27
  public function __construct($message = "", Throwable $previous = null)
28
  {
29
    parent::__construct($message, 401, $previous);
30
  }
31
//</editor-fold desc="Constructor">
32
}