<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirclient/src/err.rs, branch arti-v1.1.9</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.9'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-11-03T15:09:51Z</updated>
<entry>
<title>Suppress two clippy::large_enum_variant warnings</title>
<updated>2022-11-03T15:09:51Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-03T15:09:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1179c398599664504a80c9072c3e4abfc9c76f23'/>
<id>urn:sha1:1179c398599664504a80c9072c3e4abfc9c76f23</id>
<content type='text'>
These are newly present on 1.65.  We can address them later.
</content>
</entry>
<entry>
<title>tor-dirclient: impl HasKind for RequestFailedError</title>
<updated>2022-10-25T19:12:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-25T16:05:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=79a6b4d94f910de1d6fd4dd284995df96300349e'/>
<id>urn:sha1:79a6b4d94f910de1d6fd4dd284995df96300349e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Introduce RequestError:HttpStatus</title>
<updated>2022-10-20T16:24:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-19T11:20:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b3675c76dc43b9499bb7861b67b3dcb087c92412'/>
<id>urn:sha1:b3675c76dc43b9499bb7861b67b3dcb087c92412</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirclient: Make RequestFailed its own error type</title>
<updated>2022-10-20T16:24:53Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-10-19T11:14:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9375b2b8d60c43023b6a41c0d2429ea6efa72c6'/>
<id>urn:sha1:d9375b2b8d60c43023b6a41c0d2429ea6efa72c6</id>
<content type='text'>
We're going to have functions on Response that fail by returning only
one of these.

Sadly this diff is quite noisy.
</content>
</entry>
<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>
</feed>
