tf.compat.v1.errors.exception_type_from_error_code
View source on GitHub
tf.compat.v1.errors.exception_type_from_error_code( error_code )