CommentException.php 297 B

123456789101112131415161718
  1. <?php
  2. namespace addons\blog\library;
  3. use think\Exception;
  4. use Throwable;
  5. class CommentException extends Exception
  6. {
  7. public function __construct($message = "", $code = 0, $data = [])
  8. {
  9. $this->message = $message;
  10. $this->code = $code;
  11. $this->data = $data;
  12. }
  13. }