<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/err.rs, branch arti-v0.6.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.6.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.6.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-07-07T18:07:04Z</updated>
<entry>
<title>Improve display for tor-dircache errors.</title>
<updated>2022-07-07T18:07:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-07T18:00:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=82766e74e4db98491d962a356238a7d1a5c00cf3'/>
<id>urn:sha1:82766e74e4db98491d962a356238a7d1a5c00cf3</id>
<content type='text'>
These errors no longer use Debug to dump the `Option&lt;SourceInfo&gt;`, but
instead produce reasonable text.  Also, I've fixed the SourceInfo
Display implementation so that it now says that it got the error
"from $source via $circuit" rather than the other way around.
</content>
</entry>
<entry>
<title>dirclient: Generalize MdSha256Empty to EmptyRequest.</title>
<updated>2022-07-07T18:07:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-07T17:28:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d681967b61fc7aec208626f452fa9520f7cb3dad'/>
<id>urn:sha1:d681967b61fc7aec208626f452fa9520f7cb3dad</id>
<content type='text'>
(It makes sense to use this for things that are not in fact lists of
SHA256 digests of Microdescriptors.)
</content>
</entry>
<entry>
<title>Do not include error source() in display() format.</title>
<updated>2022-06-21T18:14:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-21T18:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08d9bbf33b9fff8aa33a823422aa4e323137be07'/>
<id>urn:sha1:08d9bbf33b9fff8aa33a823422aa4e323137be07</id>
<content type='text'>
According to doc/Errors.md, and in keeping with current best
practices, we should not include display an error's `source()` as
part of that error's display method.  Instead, we should let the
caller decide to call source() and display that error in turn.

Part of #323.
</content>
</entry>
<entry>
<title>tor-dirclient: Require that self.digests is nonempty</title>
<updated>2022-05-30T18:46:54Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2022-05-30T18:28:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=04579c03281d0de7c9899faef22707c7e643e8dc'/>
<id>urn:sha1:04579c03281d0de7c9899faef22707c7e643e8dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirclient: add the ability to reject circuits that are too skewed.</title>
<updated>2022-05-11T17:48:55Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-11T17:45:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0c939d45fc0ee6129f16c19411ec89ed482fbd8f'/>
<id>urn:sha1:0c939d45fc0ee6129f16c19411ec89ed482fbd8f</id>
<content type='text'>
This will help implement #466.
</content>
</entry>
<entry>
<title>dirclient: Collect and expose peer information from errors.</title>
<updated>2022-03-21T13:06:32Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-03-18T16:03:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=acfa0f7770f0b7146908e1975d25976315bf2070'/>
<id>urn:sha1:acfa0f7770f0b7146908e1975d25976315bf2070</id>
<content type='text'>
This commit refactors the dirclient error type into two cases:
errors when constructing a circuit, and errors that occur once we
already have a one-hop circuit.  The latter can usually be
attributed to the specific cache we're talking to.

This commit also adds a function to expose the information about
which directory gave us the info.
</content>
</entry>
<entry>
<title>Replace TorNetworkError with TorDirectoryError</title>
<updated>2022-02-22T20:41:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-22T20:41:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ce4a12976f8d6245af61d8ef08d535f8debd33f'/>
<id>urn:sha1:0ce4a12976f8d6245af61d8ef08d535f8debd33f</id>
<content type='text'>
This is still not as specific as we want; but there's already a TODO
comment in tor-dirclient::err about fixing that at some point in the
future.
</content>
</entry>
<entry>
<title>dirclient: Remove HttpStatus error variant</title>
<updated>2022-02-17T20:12:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-17T20:12:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64a0d4dce54199c2c3752d48e91a5118bb898b91'/>
<id>urn:sha1:64a0d4dce54199c2c3752d48e91a5118bb898b91</id>
<content type='text'>
Getting a non-200 status is no longer a failure condition; it's just
a different kind of answer.

Closes #349.
</content>
</entry>
<entry>
<title>Correct ErrorKinds for some tor-dirclient errors.</title>
<updated>2022-02-17T17:26:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-17T17:26:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=024ec61a1a75e740a7d960a0a2bfd8ebbd6fd8f7'/>
<id>urn:sha1:024ec61a1a75e740a7d960a0a2bfd8ebbd6fd8f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename ExitTimeout to RemoteNetworkTimeout.</title>
<updated>2022-02-17T17:19:33Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-17T17:19:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=034c5ba9f50e347052f634a532d72b2d51ddb8a9'/>
<id>urn:sha1:034c5ba9f50e347052f634a532d72b2d51ddb8a9</id>
<content type='text'>
</content>
</entry>
</feed>
