Skip to main content

Module errors

Module errors 

Source
Expand description

Error types for event validation, signing, and conversion operations.

Structs§

EventIsNotStateEvent
Error when generating a stripped state event, but it’s not a state event
UnknownRoomVersionError
Error when encountering an unknown room version
UnknownRoomVersionStringError
Error when encountering an unknown room version when parsing from string

Enums§

AuthorizationError
Errors that can occur when checking authorization.
EventContextualizationError
EventConversionError
Error type for failures during event serialization or format conversion.
EventIdGenerationError
Error for when we can’t generate a valid event
FromPduError
Error when deserializing an event from a PDU
JsonSerDeError
Type representing an error in handling JSON De-/serialization
MismatchedEventRefsError
Error when mismatched event refs are provided
RedactionError
Represents an error occurring when attempting to handle redactions or redacted data.
SigningError
Error type for signing failures.
SigningValidationError
Error type for the Contextualized → Verified state transition.
ValidationError
Error type for validation failures.