My dotfiles
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
503 B

  1. # Copyright (c) Microsoft Corporation. All rights reserved.
  2. # Licensed under the MIT License.
  3. class UnsupportedToolError(ValueError):
  4. def __init__(self, tool):
  5. msg = 'unsupported tool {!r}'.format(tool)
  6. super(UnsupportedToolError, self).__init__(msg)
  7. self.tool = tool
  8. class UnsupportedCommandError(ValueError):
  9. def __init__(self, cmd):
  10. msg = 'unsupported cmd {!r}'.format(cmd)
  11. super(UnsupportedCommandError, self).__init__(msg)
  12. self.cmd = cmd