forked from extern/nushell
Make external app error uniform (#812)
This commit is contained in:
@ -142,8 +142,8 @@ pub enum ShellError {
|
||||
),
|
||||
|
||||
#[error("External command")]
|
||||
#[diagnostic(code(nu::shell::external_command), url(docsrs))]
|
||||
ExternalCommand(String, #[label("{0}")] Span),
|
||||
#[diagnostic(code(nu::shell::external_command), url(docsrs), help("{1}"))]
|
||||
ExternalCommand(String, String, #[label("{0}")] Span),
|
||||
|
||||
#[error("Unsupported input")]
|
||||
#[diagnostic(code(nu::shell::unsupported_input), url(docsrs))]
|
||||
|
Reference in New Issue
Block a user