Add PackageError to CLIError

This commit is contained in:
raychu86 2020-08-28 23:20:57 -07:00
parent 920214e5cf
commit 40f4ffad51

View File

@ -74,6 +74,9 @@ pub enum CLIError {
#[error("{}", _0)] #[error("{}", _0)]
OutputsDirectoryError(OutputsDirectoryError), OutputsDirectoryError(OutputsDirectoryError),
#[error("{}", _0)]
PackageError(PackageError),
#[error("{}", _0)] #[error("{}", _0)]
ProofFileError(ProofFileError), ProofFileError(ProofFileError),
@ -140,6 +143,7 @@ impl_cli_error!(
NewError, NewError,
OutputFileError, OutputFileError,
OutputsDirectoryError, OutputsDirectoryError,
PackageError,
ProofFileError, ProofFileError,
ProvingKeyFileError, ProvingKeyFileError,
PublishError, PublishError,