| 1 |
<?php |
| 2 |
|
| 3 |
declare (strict_types=1); |
| 4 |
namespace WCPOS\Vendor\Sentry\Exception; |
| 5 |
|
| 6 |
/** |
| 7 |
* This exception is thrown when an issue is preventing the creation of an {@see Event}. |
| 8 |
*/ |
| 9 |
class EventCreationException extends \RuntimeException |
| 10 |
{ |
| 11 |
/** |
| 12 |
* EventCreationException constructor. |
| 13 |
* |
| 14 |
* @param \Throwable $previous The original error that was thrown while |
| 15 |
* instantiating an {@see Event} |
| 16 |
*/ |
| 17 |
public function __construct(\Throwable $previous) |
| 18 |
{ |
| 19 |
parent::__construct('Unable to instantiate an event', 0, $previous); |
| 20 |
} |
| 21 |
} |
| 22 |
|