Removed str type from error and renamed eitem, this is actually a Message