Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
d86a081335
|
@ -2,5 +2,10 @@
|
||||||
|
|
||||||
Core StORM Library
|
Core StORM Library
|
||||||
|
|
||||||
**Under active development. Please do not use.**
|
|
||||||
|
|
||||||
|
|
||||||
|
StORM is a modular ORM for Swift, layered on top of Perfect.
|
||||||
|
|
||||||
|
It aims to be easy to use, but flexible, and maintain consistency between datasource implementations for the user: you, the developer. It tries to allow you to write great code without worrying about the details of how to interact with the database.
|
||||||
|
|
||||||
|
Please see the full documentation at: [https://www.perfect.org/docs/StORM.html](https://www.perfect.org/docs/StORM.html)
|
||||||
|
|
|
@ -17,6 +17,9 @@ public enum StORMError: Error {
|
||||||
/// No error generated
|
/// No error generated
|
||||||
case noError
|
case noError
|
||||||
|
|
||||||
|
/// Connection Error
|
||||||
|
case connectionError
|
||||||
|
|
||||||
/// Not Implemented
|
/// Not Implemented
|
||||||
case notImplemented
|
case notImplemented
|
||||||
|
|
||||||
|
@ -40,6 +43,9 @@ public enum StORMError: Error {
|
||||||
case .noError:
|
case .noError:
|
||||||
return "No Error"
|
return "No Error"
|
||||||
|
|
||||||
|
case .connectionError:
|
||||||
|
return "Connection Error"
|
||||||
|
|
||||||
case .notImplemented:
|
case .notImplemented:
|
||||||
return "Not Implemented"
|
return "Not Implemented"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue