UserException.php 222 B

12345678910111213141516
  1. <?php
  2. namespace app;
  3. use Throwable;
  4. class UserException extends \Exception{
  5. public $data;
  6. /**
  7. * @param mixed $data
  8. */
  9. public function setData($data): void
  10. {
  11. $this->data = $data;
  12. }
  13. }