correlation.get_correlation_id()
Get the correlation ID.
Usage
correlation.get_correlation_id()This should only be called when the correlation ID ContextVar is expected to be set.
Raises
CorrelationIdContextError-
when the correlation ID ContextVar is not set.
InvalidCorrelationIdError- when the correlation ID is set but invalid.