Merge pull request #21 from naturalethic/include-missing-error-text

Include missing error text in some errors
This commit is contained in:
YuKun Liu 2022-03-28 10:19:04 +08:00 committed by GitHub
commit c692a367da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,10 +23,10 @@ pub enum Error {
#[error("Failed to write error")] #[error("Failed to write error")]
FailedToWrite, FailedToWrite,
#[error("Building project failed")] #[error("Build Failed: {0}")]
BuildFailed(String), BuildFailed(String),
#[error("Failed to write error")] #[error("Cargo Error: {0}")]
CargoError(String), CargoError(String),
#[error("{0}")] #[error("{0}")]