Harald Hoyer
|
46b7f58e72
|
feat: add annotate() method to Context
to just annotate the passed error with location data
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
|
2023-07-28 17:06:10 +02:00 |
|
Harald Hoyer
|
aaca6945b0
|
feat: add new(Into<String>) method for str_context! types
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
|
2023-07-28 16:32:46 +02:00 |
|
Harald Hoyer
|
82257c881a
|
docs: use new names
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
|
2023-07-28 16:22:00 +02:00 |
|
Harald Hoyer
|
165c1b939c
|
chore: suppress clippy errors in tutorial
code is in this state by purpose
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
|
2023-07-27 14:37:19 +02:00 |
|
Harald Hoyer
|
4eae3da3c1
|
feat: removed feature display-cause
`display-cause` can be turned on with the `{:#}` format specifier
|
2023-07-27 14:32:21 +02:00 |
|
Harald Hoyer
|
d60cdf9cdb
|
fix: clippy
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
|
2023-07-27 14:03:12 +02:00 |
|
Harald Hoyer
|
1654624c08
|
more documentation and formatting
|
2020-09-01 21:34:46 +02:00 |
|
Harald Hoyer
|
ed710fada3
|
rename cherr() to context()
|
2020-09-01 21:03:57 +02:00 |
|
Harald Hoyer
|
356335e807
|
use #[track_caller] and Location
|
2020-08-28 16:58:58 +02:00 |
|
Harald Hoyer
|
1d43a39c61
|
add dyn
|
2020-03-03 15:06:44 +01:00 |
|
Harald Hoyer
|
ae6c01aab2
|
macro hygiene
|
2019-03-13 11:34:53 +01:00 |
|
Harald Hoyer
|
a558c35ba4
|
make ChainError Send + Sync
|
2019-03-12 16:44:51 +01:00 |
|
Harald Hoyer
|
51af6da378
|
add derive_err_kind() and more docs
|
2019-03-07 17:03:35 +01:00 |
|
Harald Hoyer
|
c014f1a922
|
cargo fmt and doc format
|
2019-03-06 08:58:15 +01:00 |
|
Harald Hoyer
|
dfe97b34d6
|
add library chapter tutorial13
|
2019-03-04 11:44:11 +01:00 |
|
Harald Hoyer
|
f5457a2a51
|
add more docs
|
2019-02-07 08:58:05 +01:00 |
|
Harald Hoyer
|
4762a75cfe
|
impl Deref for ChainError
|
2019-02-01 11:40:46 +01:00 |
|
Harald Hoyer
|
a040044529
|
add more traits and macros
Namely:
* ChainErrorFrom
* IntoChainError
* minto_cherr!
* into_cherr!
* strerr!
Also make derive_str_cherr! struct public
|
2019-01-08 15:33:12 +01:00 |
|
Harald Hoyer
|
8ad6eaceac
|
lots of documentation
|
2018-12-21 13:50:08 +01:00 |
|
Harald Hoyer
|
4d2d807332
|
more doc
|
2018-12-20 16:32:00 +01:00 |
|
Harald Hoyer
|
88660684b7
|
add mdbook
|
2018-12-20 14:52:06 +01:00 |
|
Harald Hoyer
|
46e2c78aa8
|
add tutorial
|
2018-12-20 10:09:12 +01:00 |
|
Harald Hoyer
|
d1295092a4
|
factor out example
|
2018-12-19 17:01:01 +01:00 |
|