Type Definition perseus::RenderFnResult

source · []
pub type RenderFnResult<T> = Result<T, Box<dyn Error + Send + Sync>>;
Expand description

A generic error type that can be adapted for any errors the user may want to return from a render function. .into() can be used to convert most error types into this without further hassle. Otherwise, use Box::new() on the type.