From 31bdb2eeaab9122df3308dd286745d03e6b04a85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 25 Feb 2019 20:21:20 +0100 Subject: [PATCH] PersistenceError.recordNotFound documentation --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63e9cd806..a3391e0dc 100644 --- a/README.md +++ b/README.md @@ -7510,8 +7510,8 @@ do { ```swift do { try player.update(db) -} catch PersistenceError.recordNotFound { - // There was nothing to update +} catch let PersistenceError.recordNotFound(databaseTableName: table, key: key) { + print("Key \(key) was not found in table \(table).") } ```