[][src]Module oscore::edhoc::error

The errors of the edhoc module.

Structs

EarlyError

The error type for operations that may fail before any messages have been sent, which means the protocol can be aborted without any further action.

OwnError

The error type for operations that may fail and produce an EDHOC error message, which needs to be sent to the other party prior to aborting the protocol.

Enums

Error

The catch-all error type for this module, mostly just wrapping errors from various libraries.

OwnOrPeerError

The error type for operations that process a message from the other party and may fail if the message is an error message (in which case the protocol needs to be aborted), or if a failure happened while processing, in which case an EDHOC error message is generated that needs to be transmitted to the other party, prior to aborting the protocol.