#[error("Oscore config error: tried to get oscore config as raw struct which has been invalidated before")]
#[error("Oscore config error: unknown error in call to libcoap, probably due to missing/invalid entries in your oscore config")]
#[error("Oscore server creation error: oscore config seems to be invalid, make sure to use it only once")]
#[error("Oscore recipient error: tried removing a recipient that is not associated with the context")]
#[error("Oscore recipient error: unknown error in call to libcoap, adding/removing the recipient failed")]
"CoAP context configuration error: attempted to set encryption context while one has already been configured for this encryption variant"
#[error("CoAP session creation error: oscore config seems to be invalid, make sure to use it only once")]
/// URI does not have a valid scheme for libcoap (coap, coaps, coap+tcp, coaps+tcp, http, https).
/// A critical option (as defined in [RFC 7252](https://datatracker.ietf.org/doc/html/rfc7252#section-5.4.1)