mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
Drop DatabaseError _domain and _code properties that are no longer required by Xcode7b5.
This commit is contained in:
1 parent
b5e5afa01c
commit
26b2353782
1 file changed
-6
@@ -27,12 +27,6 @@ DatabaseError wraps a SQLite error.
|
||||
*/
|
||||
public struct DatabaseError : ErrorType {
|
||||
|
||||
/// Required for ErrorType conformance.
|
||||
public let _domain: String = "GRDB.DatabaseError"
|
||||
|
||||
/// Required for ErrorType conformance.
|
||||
public var _code: Int { return code }
|
||||
|
||||
/// The SQLite error code (see https://www.sqlite.org/c3ref/c_abort.html).
|
||||
public let code: Int
|
||||
|
||||
|
||||
Reference in new issue
Block a user