RequestNotSentException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: james
5
 * Date: 20/07/2018
6
 * Time: 11:48
7
 */
8
9
namespace CwsOps\LivePerson\Services;
10
11
/**
12
 * Class RequestNotSentException
13
 * @package CwsOps\LivePerson\Services
14
 */
15
class RequestNotSentException extends \Exception
16
{
17
    public function __construct()
18
    {
19
        parent::__construct($message = 'No request has been sent, you need call a service first.', 500);
20
    }
21
}