Parses log entries to extract an optional error code, providing a default status when it&#039;s missing by using the `{!var:...}` fallback syntax.