mirror of
https://github.com/haraldh/chainerror.git
synced 2025-01-31 00:56:41 +01:00
parent
5c93f1a5fe
commit
b58c980582
2
end.html
2
end.html
|
@ -143,6 +143,8 @@
|
||||||
<a class="header" href="#the-end" id="the-end"><h1>The End</h1></a>
|
<a class="header" href="#the-end" id="the-end"><h1>The End</h1></a>
|
||||||
<p>That's it for now…</p>
|
<p>That's it for now…</p>
|
||||||
<p>Happy error handling!</p>
|
<p>Happy error handling!</p>
|
||||||
|
<p>To report issues, submit pull request or for the source code, examples and the book source, visit
|
||||||
|
the <a href="https://github.com/haraldh/chainerror">Git Repo</a>.</p>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
162
print.html
162
print.html
|
@ -338,6 +338,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -1149,6 +1165,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -1961,6 +1993,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -2765,6 +2813,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -3584,6 +3648,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -4412,6 +4492,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -5237,6 +5333,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -6065,6 +6177,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -6902,6 +7030,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -7746,6 +7890,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
@ -8504,6 +8664,8 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
<a class="header" href="#the-end" id="the-end"><h1>The End</h1></a>
|
<a class="header" href="#the-end" id="the-end"><h1>The End</h1></a>
|
||||||
<p>That's it for now…</p>
|
<p>That's it for now…</p>
|
||||||
<p>Happy error handling!</p>
|
<p>Happy error handling!</p>
|
||||||
|
<p>To report issues, submit pull request or for the source code, examples and the book source, visit
|
||||||
|
the <a href="https://github.com/haraldh/chainerror">Git Repo</a>.</p>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -222,6 +222,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -229,6 +229,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -186,6 +186,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -183,6 +183,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -187,6 +187,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -189,6 +189,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -201,6 +201,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -213,6 +213,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -210,6 +210,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
|
@ -213,6 +213,22 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
#
|
#
|
||||||
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
# Along with the `ChainError<T>` struct, `chainerror` comes with some useful helper macros to save a lot of typing.
|
||||||
#
|
#
|
||||||
|
# ## Features
|
||||||
|
#
|
||||||
|
# `no-fileline`
|
||||||
|
# : completely turn off storing filename and line
|
||||||
|
#
|
||||||
|
# `display-cause`
|
||||||
|
# : turn on printing a backtrace of the errors in `Display`
|
||||||
|
#
|
||||||
|
# `no-debug-cause`
|
||||||
|
# : turn off printing a backtrace of the errors in `Debug`
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# # Tutorial
|
||||||
|
#
|
||||||
|
# Read the [Tutorial](https://haraldh.github.io/chainerror/tutorial1.html)
|
||||||
|
#
|
||||||
# # Examples
|
# # Examples
|
||||||
#
|
#
|
||||||
# ~~~rust
|
# ~~~rust
|
||||||
|
|
Loading…
Reference in a new issue