## correlation.get_correlation_id()

<span id="hexkit.correlation.get_correlation_id"></span>


Get the correlation ID.


Usage

``` python
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.
