David Tolnay
|
08b3d5d42b
|
Accept string literal in bail macro
|
2019-10-07 13:16:30 -07:00 |
|
David Tolnay
|
6fa503dff5
|
Show supported compiler version in readme
|
2019-10-07 08:54:05 -07:00 |
|
David Tolnay
|
0193d0cc84
|
Add comparison to failure crate
|
2019-10-07 08:25:15 -07:00 |
|
David Tolnay
|
4920eb98b2
|
Raise minimum supported rustc version to 1.32
For the $(...)? specifier in macros.
|
2019-10-07 08:00:11 -07:00 |
|
David Tolnay
|
3d65a7849c
|
Release 1.0.0
|
2019-10-07 07:55:24 -07:00 |
|
David Tolnay
|
b0c8c75766
|
Omit '0:' if only one cause
|
2019-10-06 17:02:43 -04:00 |
|
David Tolnay
|
ad275d587f
|
Indent causes in Debug representation with spaces
|
2019-10-06 17:00:48 -04:00 |
|
David Tolnay
|
a97f8dc3eb
|
Capitalize lines of Debug representation
|
2019-10-06 16:59:51 -04:00 |
|
David Tolnay
|
feb9f33dde
|
Add example to Chain iterator
|
2019-10-06 16:13:19 -04:00 |
|
David Tolnay
|
d159b79a63
|
Add example of Error::chain
|
2019-10-06 16:10:37 -04:00 |
|
David Tolnay
|
896dd7abb8
|
Explain the purpose of Error::context
|
2019-10-06 16:06:19 -04:00 |
|
David Tolnay
|
1ea72bbde3
|
Add Error::root_cause accessor
|
2019-10-06 15:55:02 -04:00 |
|
David Tolnay
|
0c21b7a336
|
Add example to Error::downcast_ref
|
2019-10-06 15:50:22 -04:00 |
|
David Tolnay
|
8235aa94b3
|
Call out that returning anyhow::Result from main is ok
|
2019-10-06 15:45:56 -04:00 |
|
David Tolnay
|
bab03c1840
|
Document Context trait with example
|
2019-10-06 15:42:56 -04:00 |
|
David Tolnay
|
a65335170e
|
Document anyhow macro with example
|
2019-10-06 15:34:01 -04:00 |
|
David Tolnay
|
5bbb899cc6
|
Document bail macro with examples
|
2019-10-06 13:20:32 -04:00 |
|
David Tolnay
|
511886e48f
|
Support string interpolation in bail macro
|
2019-10-06 13:06:08 -04:00 |
|
David Tolnay
|
d06569dfed
|
Document anyhow::Result with example
|
2019-10-06 13:03:01 -04:00 |
|
David Tolnay
|
55181d5bc4
|
Set html_root_url
|
2019-10-06 12:59:59 -04:00 |
|
David Tolnay
|
17cd390308
|
Simplify handling of trailing commas
|
2019-10-06 12:59:11 -04:00 |
|
David Tolnay
|
efce155177
|
Include example of anyhow! macro
|
2019-10-06 12:57:14 -04:00 |
|
David Tolnay
|
c0db22416a
|
No longer identical
|
2019-10-06 12:57:07 -04:00 |
|
David Tolnay
|
11a95ca5b0
|
Link to err-derive crate
|
2019-10-06 12:57:06 -04:00 |
|
David Tolnay
|
63cd824139
|
Unconditionally store Option<Backtrace>
|
2019-10-06 02:08:32 -04:00 |
|
David Tolnay
|
a2d7e2fd0c
|
Remove use of attributes on function parameters
This has been stabilized in nightly but has not yet reached a stable
channel release yet.
|
2019-10-06 02:06:18 -04:00 |
|
David Tolnay
|
6d162476c6
|
Make doc tests compilable
|
2019-10-06 02:00:02 -04:00 |
|
David Tolnay
|
ecdfdc25f7
|
Copy readme to crate level doc
|
2019-10-06 02:00:00 -04:00 |
|
David Tolnay
|
97314ac5a9
|
Remove a layer of wrapping from debug mode backtraces
|
2019-10-06 01:59:59 -04:00 |
|
David Tolnay
|
c207f6a102
|
Include more information in readme
|
2019-10-06 01:59:58 -04:00 |
|
David Tolnay
|
61e587f58f
|
Link to Context trait from Error::context method
|
2019-10-06 00:59:49 -04:00 |
|
David Tolnay
|
4119806663
|
Mention env var in Error::backtrace documentation
|
2019-10-06 00:59:48 -04:00 |
|
David Tolnay
|
6ad6457801
|
Make new_adhoc unambiguously private
|
2019-10-06 00:59:47 -04:00 |
|
David Tolnay
|
a8ce6e44ec
|
Touch up documentation on Error struct
|
2019-10-06 00:59:45 -04:00 |
|
David Tolnay
|
73c7283505
|
Remove as_dyn_error methods from Error
The underlying `dyn StdError + Send + Sync + 'static` is still available
through Deref and DerefMut.
|
2019-10-06 00:59:44 -04:00 |
|
David Tolnay
|
508f881ca4
|
Add one sentence project summary
|
2019-10-05 23:38:42 -04:00 |
|
David Tolnay
|
cc403d7559
|
Test on older compilers in Travis
|
2019-10-05 23:22:36 -04:00 |
|
David Tolnay
|
270ea5e7d5
|
Detect nightly and only expose backtrace if available
|
2019-10-05 23:20:51 -04:00 |
|
David Tolnay
|
3cd72734d5
|
Touch up Debug impl for Error
|
2019-10-05 23:11:30 -04:00 |
|
David Tolnay
|
951418f3f9
|
Remove AsDynError trait
|
2019-10-05 18:39:28 -04:00 |
|
David Tolnay
|
8a43c53ca6
|
Less cryptic impl for as_dyn_error
|
2019-10-05 18:39:02 -04:00 |
|
David Tolnay
|
04931ad59e
|
Improve naming in Drop test
|
2019-10-05 18:07:41 -04:00 |
|
David Tolnay
|
794ba39c89
|
Replace Mutex<bool> with AtomicBool
|
2019-10-05 18:07:09 -04:00 |
|
David Tolnay
|
92b850f452
|
Import from std::sync individually for destructors test
|
2019-10-05 18:02:42 -04:00 |
|
David Tolnay
|
b0e25c5518
|
Simplify autotraits test
|
2019-10-05 17:53:21 -04:00 |
|
David Tolnay
|
71b360e8bf
|
Recommend RUST_LIB_BACKTRACE=1 variable
|
2019-10-05 17:44:03 -04:00 |
|
David Tolnay
|
46ad7425a0
|
Specify generic params on every transmute
|
2019-10-05 17:40:46 -04:00 |
|
David Tolnay
|
3adc96a06f
|
Shrink backtrace capture unsafe block
|
2019-10-05 17:36:28 -04:00 |
|
David Tolnay
|
41fde4cf29
|
Add context method to Error
|
2019-10-05 17:27:29 -04:00 |
|
David Tolnay
|
b702096f5c
|
Remove deprecated cause method from ContextError
|
2019-10-05 17:19:45 -04:00 |
|