failure icon indicating copy to clipboard operation
failure copied to clipboard

Error management

Results 100 failure issues
Sort by recently updated
recently updated
newest added

https://github.com/rust-lang/rust/issues/79813 ``` error: trailing semicolon in macro used in expression position Error: --> core/src/nodes.rs:74:21 | 74 | Err(err) => bail!(err), | ^^^^^^^^^^ | note: the lint level is defined here...

Hello, the current `rust-lang-nursery` organisation is considered deprecated, and the Rust Programming Language organisation is trying to consolidate managing Rust's GitHub organisations, as such we'd like you to consider moving...

As motivating example, let's say I want to create a file and pass its path to a child process, so that it can talk to me via unix sockets, all...

I couldn't assert-test a Fail type without the help of the assert_matches crate. Please tell me that there's a better way than this? assert_matches!(failure, Err(failure::Error))

I'm getting a compile error when attempting to build c2rust which evidently depends on failure, ``` [skainswo@tricycle rustybox]$ cargo +nightly-2019-10-04 install c2rust ... Compiling failure v0.1.6 error: /lib64/libc.so.6: version `GLIBC_2.18'...

Today u can only `bail!` and `ensure!` error message (`&str`). I suggest adding the ability to return structs and enums that implement `Fail` trait. Today: ```rust bail!("error message"); ensure!(false, "error...

`Error::description` has been documented as soft-deprecated since 1.27.0 (17 months ago). It is going to be hard-deprecated soon. This PR: - Removes implementation of `description` in `Compat` - Replaces all...

The following fails to compile: ```rust use failure::Error; fn main() -> Result { let success: Result = Ok(()); success?; Ok(()) } ``` ``` error[E0277]: the trait bound `(): std::error::Error` is...

Fixes #328 Use `core_error::Error`, a compatibility Error trait in `no_std` environment allowing interoperability between various error handling crates, such as snafu. In std environment, `core_error` simply reexports `std::error`, so this...

I noticed that it is possible to cause type confusion in downcast by manually implementing `__private_get_type_id__`. https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=ad66fe439660eb8373996bfd6bd7a835 Although the name of the function clearly shows that it is a private...