summaryrefslogtreecommitdiff
path: root/crates/tor-rpcbase/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* RPC: Log all internal errors.Nick Mathewson2023-04-191-3/+7
|
* rpc: impl From<SendUpdateError> for RpcError.Nick Mathewson2023-04-191-0/+14
|
* rpc, spec: Document current ObjectError, RequestError behavior as correct.Nick Mathewson2023-04-131-10/+2
|
* rpcbase: Use correct error codes, and add tests.Nick Mathewson2023-04-121-6/+181
| | | | | | | | | | | Well, mostly correct. Our current serde implementation doesn't tell us much about what went wrong with the object, so we can't tell why we couldn't convert it into a Request. Also, our output for the data field is not as the spec says: we should bring them into conformance. Part of #825.
* tor-rpcbase: Create error kinds properly.Nick Mathewson2023-04-121-14/+16
| | | | | The field is called "kinds", it is a list, and it holds strings beginning with "arti:".
* tor-rpcbase: Rename and rephrase "command" to "method"Nick Mathewson2023-04-121-2/+2
|
* Rename tor-rpccmd to tor-rpcbase.Nick Mathewson2023-04-121-0/+77