Function pencil::helpers::abort
[−]
[src]
pub fn abort(code: u16) -> PencilResult
One helper function that can be used to return HTTP Error inside a view function.