Skip to content

Commit

Permalink
renamed go_cosmwasm::Error:EnclaveError to GoCwEnclaveError
Browse files Browse the repository at this point in the history
  • Loading branch information
reuvenpo committed Jul 15, 2020
1 parent 2b40171 commit 9d73d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go-cosmwasm/src/error/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ pub enum Error {
#[cfg(feature = "backtraces")]
backtrace: snafu::Backtrace,
},
#[snafu(display("Error calling the enclave: {}", msg))]
EnclaveErr {
#[snafu(display("{}", msg))]
GoCwEnclaveError {
msg: String,
#[cfg(feature = "backtraces")]
backtrace: snafu::Backtrace,
Expand Down Expand Up @@ -67,7 +67,7 @@ impl Error {
}

pub fn enclave_err<S: ToString>(msg: S) -> Self {
EnclaveErr {
GoCwEnclaveError {
msg: msg.to_string(),
}
.build()
Expand Down

0 comments on commit 9d73d5a

Please sign in to comment.