Create error objects quickly