From ae3a0490ee78627f310e94fab830256b3e130002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 11 Jul 2015 17:15:06 +0200 Subject: [PATCH] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 34ae9569a..8b23a36d1 100644 --- a/README.md +++ b/README.md @@ -505,7 +505,7 @@ dbQueue.inDatabase { db in **The rule** is: - All methods that *read* data crash. -- All methods that *write* data throw an error. +- All methods that *write* data throw. > Rationale: we assume that *all* reading errors are either SQL errors that the developer should fix (a syntax error, a wrong column name), or external I/O errors that are beyond repair and better hidden behind a crash. Write errors may be relational errors (violated unique index, missing reference) and you may want to handle relational errors yourselves. >