moduleException.php 317 B

1234567891011121314151617
  1. <?php
  2. namespace ba\module;
  3. use think\Exception;
  4. class moduleException extends Exception
  5. {
  6. public function __construct($message, $code = 0, $data = '')
  7. {
  8. $this->message = $message;
  9. $this->code = $code;
  10. $this->data = $data;
  11. parent::__construct($message, $code);
  12. }
  13. }