Skip to main content

MatrixApiError

Trait MatrixApiError 

Source
pub trait MatrixApiError {
    // Required method
    fn create_matrix_error(&self) -> MatrixError;
}
Expand description

Trait for errors that can be converted into matrix errors

Required Methods§

Source

fn create_matrix_error(&self) -> MatrixError

Create a matrix error from the error

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§