<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-error/src, branch arti-v1.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-29T14:06:49Z</updated>
<entry>
<title>tor-error: use `Display` for backtrace captured by `BugRepr`</title>
<updated>2024-10-29T14:06:49Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-29T01:59:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c91d067d395ed9a1e2385fcaf9c15dbb578a575f'/>
<id>urn:sha1:c91d067d395ed9a1e2385fcaf9c15dbb578a575f</id>
<content type='text'>
Before:

```text
2024-10-29T01:57:31Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
Backtrace [{ fn: "tor_error::internal::ie_backtrace::capture", file: "./crates/tor-error/src/internal.rs", line: 21 }, { fn: "tor_error::internal::Bug::new_inner", file: "./crates/tor-error/src/internal.rs", line: 105 }, { fn: "tor_error::internal::Bug::new", file: "./crates/tor-error/src/internal.rs", line: 94 }, { fn: "arti::main_main", file: "./crates/arti/src/lib.rs", line: 378 }, ...
```

After:

```text
2024-10-29T01:58:23Z ERROR arti: error: internal error (bug) at crates/arti/src/lib.rs:378:27: foo
   0: tor_error::internal::ie_backtrace::capture
             at ./crates/tor-error/src/internal.rs:21:27
   1: tor_error::internal::Bug::new_inner
             at ./crates/tor-error/src/internal.rs:105:24
   2: tor_error::internal::Bug::new
             at ./crates/tor-error/src/internal.rs:94:9
   3: arti::main_main
             at ./crates/arti/src/lib.rs:378:27
   ...
```
</content>
</entry>
<entry>
<title>Remove Rpc* variants from tor_error::ErrorKind</title>
<updated>2024-10-17T23:16:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-16T18:58:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5219f4cee5a74c0abdd8ad548b4ead9e2066cb2c'/>
<id>urn:sha1:5219f4cee5a74c0abdd8ad548b4ead9e2066cb2c</id>
<content type='text'>
These are not regular ErrorKinds, since they can never occur in an
error that's meant to be returned from a Rust API like
`arti-client`.  Instead, they only exist for errors returned from
RpcError.

(I can't find the place where we discussed this previously, but the
rationale is that if an ErrorKind never makes sense in response to
something that the user does from Rust, we should never have that be
an ErrorKind.  The fact that the removed kinds do not actually
appear outside the RPC system suggests that this is reasonable.)
</content>
</entry>
<entry>
<title>tor-error: Make "futures" dependency optional.</title>
<updated>2024-10-09T19:59:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-09T19:59:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8f45f5bfa2574671b8d60ba273ddcb72aa6599bd'/>
<id>urn:sha1:8f45f5bfa2574671b8d60ba273ddcb72aa6599bd</id>
<content type='text'>
This is part of an effort to make arti-rpc-client-core (and future
similar tools) able to use our very-low-level crates
without depending on things they don't need.
</content>
</entry>
<entry>
<title>Merge branch 'miri-1' into 'main'</title>
<updated>2024-10-09T15:42:43Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2024-10-09T15:42:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42004900adb8f8f02a238b04094e8f6c8344d888'/>
<id>urn:sha1:42004900adb8f8f02a238b04094e8f6c8344d888</id>
<content type='text'>
Add some more miri tests

See merge request tpo/core/arti!2502</content>
</entry>
<entry>
<title>tor-error: Disable backtraces under miri, even if cargo feature enabled</title>
<updated>2024-10-08T15:53:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-07T11:45:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=856b65f24b31e9500d7ef5a84e168b423e06d862'/>
<id>urn:sha1:856b65f24b31e9500d7ef5a84e168b423e06d862</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-{error,rpcbase}: Add new RPC error codes from spec.</title>
<updated>2024-10-07T18:33:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-10-07T18:33:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5904bcd65c97cb21a336aecede918d1c47e5fccc'/>
<id>urn:sha1:5904bcd65c97cb21a336aecede918d1c47e5fccc</id>
<content type='text'>
These, like the other RPC-only error kinds, probably don't belong in
`tor-error`.  But for now, that's where they all are, and moving
them is out of scope for this branch.  See #1668.
</content>
</entry>
<entry>
<title>Upgrade to derive_more version 1.0.0</title>
<updated>2024-09-25T14:37:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T14:37:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a12c2ba8515226a772d5f4a81930bf42d67535a'/>
<id>urn:sha1:6a12c2ba8515226a772d5f4a81930bf42d67535a</id>
<content type='text'>
The `derive_more` crate broke backward compatibility with this version,
so this change involved quite a few manual fixups.
With luck, they'll keep compatibility for some while in the future.
</content>
</entry>
<entry>
<title>Merge branch 'rpc-describe' into 'main'</title>
<updated>2024-08-13T01:11:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-13T01:11:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3da21d89ea96c28661b8b69cc16b2a5b78998c8a'/>
<id>urn:sha1:3da21d89ea96c28661b8b69cc16b2a5b78998c8a</id>
<content type='text'>
RPC: Method to expose a list of RPC methods.

See merge request tpo/core/arti!2332</content>
</entry>
<entry>
<title>tor-error: implement HasKind on void::Void and Infallible.</title>
<updated>2024-08-13T00:27:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-08-12T16:31:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ef6f70c2cf6b947d6f42efb630e04721442dfe4d'/>
<id>urn:sha1:ef6f70c2cf6b947d6f42efb630e04721442dfe4d</id>
<content type='text'>
`void::Void` represents the type of an object that can't be
constructed.  It's especially useful as the error type of an
infallible function.  `void::Void` already implements
`std::error::Error`, so all we need to do to use it as a "can't
happen" error type in our code is to have it also implement
`HasKind`.

Also implement HasKind for Infallible while we're at it.
</content>
</entry>
<entry>
<title>Use std::backtrace instead of backtrace crate</title>
<updated>2024-08-01T12:18:40Z</updated>
<author>
<name>Robin Leander Schröder</name>
<email>1473-rls@gitlab.torproject.org</email>
</author>
<published>2024-08-01T12:07:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f31e6b650f004ccf88446e8b2a39f1381995c09'/>
<id>urn:sha1:9f31e6b650f004ccf88446e8b2a39f1381995c09</id>
<content type='text'>
Removes resolve_backtraces from rtmock since it is no longer needed as
stdlib's backtraces automatically lazily resolve without needing a &amp;mut.
</content>
</entry>
</feed>
