From e0a837873abb1fccaf6e7028421144e927cde75b Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 20 Dec 2018 16:37:08 +0100 Subject: [PATCH] Header change --- booksrc/tutorial1.md | 2 +- booksrc/tutorial10.md | 2 +- booksrc/tutorial11.md | 2 +- booksrc/tutorial2.md | 2 +- booksrc/tutorial3.md | 2 +- booksrc/tutorial4.md | 2 +- booksrc/tutorial5.md | 2 +- booksrc/tutorial6.md | 2 +- booksrc/tutorial7.md | 2 +- booksrc/tutorial8.md | 2 +- booksrc/tutorial9.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/booksrc/tutorial1.md b/booksrc/tutorial1.md index 761a770..4a0ac91 100644 --- a/booksrc/tutorial1.md +++ b/booksrc/tutorial1.md @@ -1,4 +1,4 @@ -## Simple String Errors +# Simple String Errors The most simplest of doing error handling in rust is by returning `String` as a `Box`. diff --git a/booksrc/tutorial10.md b/booksrc/tutorial10.md index f84ea21..09b08aa 100644 --- a/booksrc/tutorial10.md +++ b/booksrc/tutorial10.md @@ -1,4 +1,4 @@ -## ErrorKind to the rescue +# ErrorKind to the rescue [TBD] diff --git a/booksrc/tutorial11.md b/booksrc/tutorial11.md index f433492..d7df420 100644 --- a/booksrc/tutorial11.md +++ b/booksrc/tutorial11.md @@ -1,4 +1,4 @@ -## Debug for the ErrorKind +# Debug for the ErrorKind [TBD] diff --git a/booksrc/tutorial2.md b/booksrc/tutorial2.md index 2d40609..933589a 100644 --- a/booksrc/tutorial2.md +++ b/booksrc/tutorial2.md @@ -1,4 +1,4 @@ -## Simple Chained String Errors +# Simple Chained String Errors Now with the help of the `chainerror` crate, we can have a nicer output. diff --git a/booksrc/tutorial3.md b/booksrc/tutorial3.md index b27b4e7..b86e0ad 100644 --- a/booksrc/tutorial3.md +++ b/booksrc/tutorial3.md @@ -1,4 +1,4 @@ -## Mapping Errors +# Mapping Errors Now let's get more rust idiomatic by using `.map_err()`. diff --git a/booksrc/tutorial4.md b/booksrc/tutorial4.md index 788efdc..95a6fab 100644 --- a/booksrc/tutorial4.md +++ b/booksrc/tutorial4.md @@ -1,4 +1,4 @@ -## Saving coding chars +# Saving coding chars Because decorating an error with more information should not let you jump through hoops, `chainerror` has a quick macro for that. diff --git a/booksrc/tutorial5.md b/booksrc/tutorial5.md index 7d792df..e8c6302 100644 --- a/booksrc/tutorial5.md +++ b/booksrc/tutorial5.md @@ -1,4 +1,4 @@ -## The source() of Errors +# The source() of Errors Sometimes you want to inspect the `source()` of an `Error`. `chainerror` implements `std::error::Error::source()`, so you can get the cause of an error. diff --git a/booksrc/tutorial6.md b/booksrc/tutorial6.md index db4e977..aab9395 100644 --- a/booksrc/tutorial6.md +++ b/booksrc/tutorial6.md @@ -1,4 +1,4 @@ -## Downcast the Errors +# Downcast the Errors [TBD] diff --git a/booksrc/tutorial7.md b/booksrc/tutorial7.md index f7bcbdb..0ada232 100644 --- a/booksrc/tutorial7.md +++ b/booksrc/tutorial7.md @@ -1,4 +1,4 @@ -## The root cause of all Errors +# The root cause of all Errors [TBD] diff --git a/booksrc/tutorial8.md b/booksrc/tutorial8.md index a8030eb..ecd8f64 100644 --- a/booksrc/tutorial8.md +++ b/booksrc/tutorial8.md @@ -1,4 +1,4 @@ -## Finding an Error cause +# Finding an Error cause [TBD] diff --git a/booksrc/tutorial9.md b/booksrc/tutorial9.md index 4941531..060de6e 100644 --- a/booksrc/tutorial9.md +++ b/booksrc/tutorial9.md @@ -1,4 +1,4 @@ -## Selective Error Handling +# Selective Error Handling [TBD]