Adds some ORM methods to ORM Error

This will avoid code throwing when trying to do for example db.define()
before checking if connection was successfull and passing invalid
configuration options