MCPcopy
hub / github.com/benoitc/gunicorn / __init__

Method __init__

gunicorn/dirty/errors.py:115–126  ·  view source on GitHub ↗
(self, message, app_path=None, action=None, traceback=None)

Source from the content-addressed store, hash-verified

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
129class DirtyAppNotFoundError(DirtyAppError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected