set default error_type as Unknown