From 17f7e4dfcf125d53ff62201eb88c11d557796239 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 30 Jan 2019 16:27:06 -0500 Subject: [PATCH] Error handling examples --- .gitignore | 2 ++ .idea/misc.xml | 1 + .idea/rust.iml | 5 ++++ .idea/workspace.xml | 69 +++++++++++++++++++++++++++++++-------------- errors/Cargo.toml | 7 +++++ errors/src/main.rs | 65 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 128 insertions(+), 21 deletions(-) create mode 100644 errors/Cargo.toml create mode 100644 errors/src/main.rs diff --git a/.gitignore b/.gitignore index 2b1665f..dab9a24 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ Cargo.lock **/*.rs.bk # End of https://www.gitignore.io/api/osx,rust + +errors/hello.txt diff --git a/.idea/misc.xml b/.idea/misc.xml index b7bb25f..baf7791 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -15,6 +15,7 @@ + diff --git a/.idea/rust.iml b/.idea/rust.iml index 88c150b..a8e328f 100644 --- a/.idea/rust.iml +++ b/.idea/rust.iml @@ -59,9 +59,14 @@ + + + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f30eaf6..145a8ab 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,6 +3,9 @@ + + +