Missed TensorFlow World? Check out the recap. Learn more

tf.errors.error_code_from_exception_type

tf.errors.error_code_from_exception_type(cls)

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