You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 8 години
123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * @link http://www.yiiframework.com/
  4. * @copyright Copyright (c) 2008 Yii Software LLC
  5. * @license http://www.yiiframework.com/license/
  6. */
  7. namespace yii\console;
  8. use yii\base\UserException;
  9. /**
  10. * Exception represents an exception caused by incorrect usage of a console command.
  11. *
  12. * @author Qiang Xue <qiang.xue@gmail.com>
  13. * @since 2.0
  14. */
  15. class Exception extends UserException
  16. {
  17. /**
  18. * @return string the user-friendly name of this exception
  19. */
  20. public function getName()
  21. {
  22. return 'Error';
  23. }
  24. }