Skip to main content

api_from_src_stringly

Function api_from_src_stringly 

Source
pub fn api_from_src_stringly(src: &str) -> Result<Api, String>
Expand description

A convenience wrapper around api_from_src that renders any error to a plain string, for non-macro callers (e.g. the CLI).

ยงErrors

Returns the formatted error message when extraction fails.