devdocs/FAQ.md
Let's collect some questions a lot of Nushell contributors have.
Let's keep the answers concise and up to date (or general enough) to remain relevant
TODO (Probably fork out into its own file)
Approximate flow:
nu_protocol::ParseError variantsnu_protocol::ShellError variant
ShellError variant for inspiration)miette macros add during formatting! (go to definition of ShellError)Span informationreturn Err(ShellError::...) and you're done in a Command::runprintln!, we can write to stderr if necessary but...nu_protocol::report_error::report_error or report_error_new
StateWorkingSetlog-crate macros.TODO
PipelineMetadata?TODO