LiveEngageException::__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
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
eloc 1
nc 1
nop 3
1
<?php
2
3
namespace LivePersonInc\LiveEngageLaravel\Exceptions;
4
5
use Exception;
6
7
/**
8
 * @codeCoverageIgnore
9
 */
10
class LiveEngageException extends Exception
11
{
12
	public function __construct($message, $code = 0, Exception $previous = null)
13
	{
14
		parent::__construct($message, $code, $previous);
15
	}
16
17
	// custom string representation of object
18
	public function __toString()
19
	{
20
		return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
21
	}
22
}
23