Throw an error at the user when the database search type is unknown