tf.compat.v1.errors.exception_type_from_error_code