Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| AtlassianException | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Javidnikoo\LaravelAtlassian\Atlassian\Exceptions; |
| 4 | |
| 5 | use Exception; |
| 6 | |
| 7 | class AtlassianException extends Exception |
| 8 | { |
| 9 | /** |
| 10 | * @param array<string, mixed> $context |
| 11 | */ |
| 12 | public function __construct( |
| 13 | string $message = '', |
| 14 | int $code = 0, |
| 15 | public readonly array $context = [], |
| 16 | ?Exception $previous = null |
| 17 | ) { |
| 18 | parent::__construct($message, $code, $previous); |
| 19 | } |
| 20 | } |