mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:35:59 +02:00
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