Test Setup Failed
Push — master ( ca9897...8a7fbb )
by he
14:15 queued 06:25
created

ApiException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 5 1
1
<?php
2
3
namespace App\Exceptions;
4
5
use Exception;
6
7
class ApiException extends Exception
8
{
9
    public function render()
10
    {
11
        return [
12
            'code'    => 500,
13
            'message' => $this->message,
14
        ];
15
    }
16
}
17