doc update

generated from commit bbc9c12164
This commit is contained in:
Harald Hoyer 2018-12-21 14:07:02 +01:00
parent 5c93f1a5fe
commit b58c980582
14 changed files with 326 additions and 2 deletions

View file

@ -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>

View file

@ -338,6 +338,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
<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

View file

@ -222,6 +222,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -229,6 +229,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -186,6 +186,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -183,6 +183,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -187,6 +187,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -189,6 +189,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -201,6 +201,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -213,6 +213,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -210,6 +210,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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

View file

@ -213,6 +213,22 @@ fn main() -&gt; Result&lt;(), Box&lt;Error&gt;&gt; {
# #
# Along with the `ChainError&lt;T&gt;` struct, `chainerror` comes with some useful helper macros to save a lot of typing. # Along with the `ChainError&lt;T&gt;` 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