Commit 3585bd2
Implement std::error::Error for TemporalError (#664)
Currently, `TemporalError` does not implement `std::error::Error`, which
makes `TemporalResult` incompatible with ecosystem crates for error
conversions, such as `anyhow`.
The fix is a simple one-line addition to implement the error trait,
since `TemporalError` already implements `Display` and `Debug`.
---------
Co-authored-by: Leandro Vandari <leandrovandari@gmail.com>1 parent 43c0c00 commit 3585bd2
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
0 commit comments