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