error_if_agument_is_not_character_string function

Throw error if argument is not a character string