class PromtailDigestError(EventBase): """Event...
class PromtailDigestError(EventBase): """Event emitted when there is an error with Promtail initialization.""" def __init__(self, handle, message): super().__init__(handle) self.message = message def snapshot(self): """Save message information.""" return {"message": self.message} def restore(self, snapshot): """Restore message information.""" self.message = snapshot["message"]