:panda_face: hotfixing Database core class: typo use Error; updated Model core class.