Create handlers for empty string errors, and NotFound errors