[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26337 [Core Tor/Tor]: make rust error types use the failure crate



#26337: make rust error types use the failure crate
-------------------------------------------------+-------------------------
 Reporter:  isis                                 |          Owner:  (none)
     Type:  enhancement                          |         Status:  new
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.5.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  rust, technical-debt, tor-           |  Actual Points:
  modularity                                     |
Parent ID:                                       |         Points:  1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor8-can
-------------------------------------------------+-------------------------
Description changed by isis:

Old description:

> As 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://twitter.com/0x424c41434b/status/1005185002399830023 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.

New description:

 As 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.

--

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26337#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs