plugin call function

This commit is contained in:
Fernando Herrera
2021-11-01 07:20:33 +00:00
parent a390f66dbf
commit 43c3cfecf7
8 changed files with 3059 additions and 39 deletions

View File

@ -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 {