mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Remove RowModelError.Dummy since rdar://problem/21707972 is fixed by Xcode 7 beta 4.
This commit is contained in:
1 parent
8deb6ba624
commit
c220b57473
2 files changed
-9
No files matched your search
@@ -656,12 +656,6 @@ public enum RowModelError: ErrorType {
|
||||
|
||||
/// No matching row could be found in the database.
|
||||
case RowModelNotFound(RowModel)
|
||||
|
||||
/// This error is never thrown. Its mere existence prevents
|
||||
/// rdar://problem/21707972, which makes thrown RowModelNotFound be catched
|
||||
/// as InvalidPrimaryKey.
|
||||
case Dummy(String)
|
||||
|
||||
}
|
||||
|
||||
extension RowModelError : CustomStringConvertible {
|
||||
@@ -672,8 +666,6 @@ extension RowModelError : CustomStringConvertible {
|
||||
return "Invalid primary key in \(rowModel)"
|
||||
case .RowModelNotFound(let rowModel):
|
||||
return "RowModel not found: \(rowModel)"
|
||||
case .Dummy:
|
||||
return "Dummy"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
- [ ] Remove RowModelError.Dummy when rdar://problem/21707972 is fixed.
|
||||
- [ ] DateTime supports ISO-8601 format: document that comparison and sorting can't work with SQLite-generated values like CURRENT_TIMESTAMP.
|
||||
- [ ] Test edited flag with Int property backed by a REAL database column.
|
||||
- [ ] Use the new `- Throws:` comments
|
||||
Reference in new issue
Block a user