tf.errors.error_code_from_exception_type

tf.errors.error_code_from_exception_type(cls)

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