Adds ORM own type of errors (#455)