forked from extern/nushell
plugin call function
This commit is contained in:
@ -170,13 +170,8 @@ pub enum ShellError {
|
||||
#[error("No file to be copied")]
|
||||
NoFileToBeCopied(),
|
||||
|
||||
#[error("Unable to serialize message")]
|
||||
#[diagnostic(code(nu::shell::EncodingError), url(docsrs))]
|
||||
EncodingError(String),
|
||||
|
||||
#[error("Unable to read message")]
|
||||
#[diagnostic(code(nu::shell::DecodingError), url(docsrs))]
|
||||
DecodingError(String),
|
||||
#[error("Plugin error")]
|
||||
PluginError(String),
|
||||
}
|
||||
|
||||
impl From<std::io::Error> for ShellError {
|
||||
|
Reference in New Issue
Block a user