tf.errors.exception_type_from_error_code

tf.errors.exception_type_from_error_code(error_code)

Defined in tensorflow/python/framework/errors_impl.py.

See the guide: Running Graphs > Error classes and convenience functions