Changes between Version 2 and Version 6 of Ticket #26337


Ignore:
Timestamp:
Aug 10, 2018, 1:33:25 AM (16 months ago)
Author:
chelseakomlo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26337

    • Property Keywords 035-removed-20180711 added
    • Property Status changed from new to needs_information
    • Property Summary changed from make rust error types use the failure crate to Investigate making rust error types use the failure crate
    • Property Milestone changed from Tor: 0.3.5.x-final to Tor: unspecified
  • Ticket #26337 – Description

    v2 v6  
    11As our Rust code increases, we'll eventually want a nicer way to convert between error types than we currently have.  We'll probably want to use boats's `failure` [https://crates.io/crates/failure crate].  They mentioned a while ago that they were going to make a 1.0.0 release soon, and afaict there's not really anything about the current release that is expected to change, so we can probably start working on this now-ish.
     2
     3[update] This ticket is pending stability of the `failure` crate and the direction of the error trait in Rust https://github.com/rust-lang/rfcs/pull/2504