Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

28 linhas
545B

  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. }