Raised when a dirty app encounters an error during execution.
| 110 | |
| 111 | |
| 112 | class DirtyAppError(DirtyError): |
| 113 | """Raised when a dirty app encounters an error during execution.""" |
| 114 | |
| 115 | def __init__(self, message, app_path=None, action=None, traceback=None): |
| 116 | details = {} |
| 117 | if app_path: |
| 118 | details["app_path"] = app_path |
| 119 | if action: |
| 120 | details["action"] = action |
| 121 | if traceback: |
| 122 | details["traceback"] = traceback |
| 123 | super().__init__(message, details) |
| 124 | self.app_path = app_path |
| 125 | self.action = action |
| 126 | self.traceback = traceback |
| 127 | |
| 128 | |
| 129 | class DirtyAppNotFoundError(DirtyAppError): |
no outgoing calls