Skip to main content

abort

Function abort 

Source
pub fn abort<T>(span: Span, msg: &str, help: &str) -> Result<T>
Expand description

Wraps a message with a helper hint with a syn::Error.

ยงErrors

Always returns a syn::Error.