Completed
Push — master ( ff765d...5401ff )
by Vladimir
02:15
created

DriverException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 12
ccs 0
cts 5
cp 0
rs 10
wmc 2
lcom 0
cbo 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A report() 0 4 1
A render() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FondBot\Channels\Exceptions;
6
7
use Exception;
8
9
class DriverException extends Exception
10
{
11
    public function report(): void
12
    {
13
        logger('DriverException', ['message' => $this->getMessage()]);
14
    }
15
16
    public function render()
17
    {
18
        return response();
19
    }
20
}
21