Completed
Push — master ( 8cb712...95a8ed )
by
unknown
01:17
created

PaymentErrorException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
namespace Luigel\LaravelPaymongo\Exceptions;
4
5
use Exception;
6
use Throwable;
7
8
class PaymentErrorException extends Exception
9
{
10
    public function __construct(
11
        $message = 'There is an error during payment',
12
        $code = 402,
13
        Throwable $previous = null
14
    )
15
    {
16
        parent::__construct($message, $code, $previous);
17
    }
18
}