Skip to main content

HandlerResult

Type Alias HandlerResult 

Source
pub type HandlerResult = Result<()>;
Expand description

Result type for handler functions.

Aliased Type§

pub enum HandlerResult {
    Ok(()),
    Err(ProcwireError),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err(ProcwireError)

Contains the error value