exception.py 812B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # -*- coding: utf-8 -*-
  2. class HapicException(Exception):
  3. pass
  4. class ConfigurationException(HapicException):
  5. pass
  6. class WorkflowException(HapicException):
  7. pass
  8. class DecorationException(HapicException):
  9. pass
  10. class AlreadyDecoratedException(DecorationException):
  11. pass
  12. class ProcessException(HapicException):
  13. pass
  14. class InputWorkflowException(WorkflowException):
  15. pass
  16. class OutputWorkflowException(WorkflowException):
  17. pass
  18. class InputValidationException(InputWorkflowException, ProcessException):
  19. pass
  20. class OutputValidationException(InputWorkflowException, ProcessException):
  21. pass
  22. class DocumentationException(HapicException):
  23. pass
  24. class NoRoutesException(DocumentationException):
  25. pass
  26. class RouteNotFound(DocumentationException):
  27. pass