Function nogo::error_handling::construct_error [] [src]

pub fn construct_error(specific: &str, kind: NogoErrorKind) -> NogoError

helper method to throw a properly constructed error object