(self)
| 37 | } |
| 38 | |
| 39 | def to_message(self) -> str: |
| 40 | if self.suggestion: |
| 41 | return f"{self.title}:{self.suggestion}" |
| 42 | return f"{self.title}:{self.detail}" |
| 43 | |
| 44 | |
| 45 | def error_payload(error: Union[AppError, Exception, str], context: Optional[Dict[str, Any]] = None) -> Dict[str, Any]: |
no outgoing calls
no test coverage detected