<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-socksproto/src/err.rs, branch arti-v0.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-15T11:40:24Z</updated>
<entry>
<title>tor-socksproto: Use bad_api_usage! rather than ad-hoc Invalid error</title>
<updated>2022-02-15T11:40:24Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T16:54:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97a0a7359bb57cfde916dd87a1e54032b811fd36'/>
<id>urn:sha1:97a0a7359bb57cfde916dd87a1e54032b811fd36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make Bug from InternalError, add bad_api_usage! and into_bad_api_usage!</title>
<updated>2022-02-15T11:40:24Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T18:31:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b8f928e4f5cec07c8dff1de9f1c6f09b8dc17efc'/>
<id>urn:sha1:b8f928e4f5cec07c8dff1de9f1c6f09b8dc17efc</id>
<content type='text'>
Including supporting machinery, new kind field, etc.
</content>
</entry>
<entry>
<title>New name and semantics for BadAPIUsage (was BadArgument)</title>
<updated>2022-02-15T11:32:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T15:48:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5d87ca8ad748e4b20a8f089f6f4e94fc4120a0f9'/>
<id>urn:sha1:5d87ca8ad748e4b20a8f089f6f4e94fc4120a0f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'error-socksproto-autoconvert' into 'main'</title>
<updated>2022-02-14T20:57:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T20:57:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e80d472beb3de3160a1cda2edcae210532ff4f15'/>
<id>urn:sha1:e80d472beb3de3160a1cda2edcae210532ff4f15</id>
<content type='text'>
Provide, and use From impl for InternalError

See merge request tpo/core/arti!315</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mr/313'</title>
<updated>2022-02-14T19:25:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T19:25:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e4321bbae202dee9ae55fa785efa862fa3b0d8a4'/>
<id>urn:sha1:e4321bbae202dee9ae55fa785efa862fa3b0d8a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'error-kind-protocol' into 'main'</title>
<updated>2022-02-14T19:07:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-02-14T19:07:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8db7ab8148bfc8eeed3f7badb3c2d72fbd69e773'/>
<id>urn:sha1:8db7ab8148bfc8eeed3f7badb3c2d72fbd69e773</id>
<content type='text'>
Split up ErrorKind::ProtocolViolation

See merge request tpo/core/arti!312</content>
</entry>
<entry>
<title>Provide, and use From impl for InternalError</title>
<updated>2022-02-14T18:48:35Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T18:48:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4774cbd18d06b2c3d6ece16784275b1d1a435fdc'/>
<id>urn:sha1:4774cbd18d06b2c3d6ece16784275b1d1a435fdc</id>
<content type='text'>
Adding this autoconversion is quite safe since every error generation
site is explicit and has its own context, and we don't really need to
add more.

This simplifies the code and will simplify future work.
</content>
</entry>
<entry>
<title>Split up ErrorKind::ProtocolViolation</title>
<updated>2022-02-14T17:55:56Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T16:09:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4d14398fe19163812f0eb7b1d196803795d9a95f'/>
<id>urn:sha1:4d14398fe19163812f0eb7b1d196803795d9a95f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor_socksproto::Error HasKind fix two delegations</title>
<updated>2022-02-14T17:46:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T17:46:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=02959576bb034e38f4757aeeb0205b6aed968258'/>
<id>urn:sha1:02959576bb034e38f4757aeeb0205b6aed968258</id>
<content type='text'>
We should not generally explicitly specify a kind for errors which
contain a more detailed error which itself has a kind.  Stating the
kind literally is a latent bug, which becomes a real bug if the
contained type's kind changes or starts to vary.

(There may be exceptions to this principle but this isn't one of
them.)
</content>
</entry>
<entry>
<title>Split up ErrorKind::NoSupport</title>
<updated>2022-02-14T16:06:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-14T15:58:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30ebb1358ad4be7b804f9c5824d1a05e853e6f69'/>
<id>urn:sha1:30ebb1358ad4be7b804f9c5824d1a05e853e6f69</id>
<content type='text'>
</content>
</entry>
</feed>
