class_docstr: Raised when an operation iterates past the valid input range.
  
  This exception is raised in "end-of-file" conditions, such as when a
  @{tf.QueueBase.dequeue}
  operation is blocked on an empty queue, and a
  @{tf.QueueBase.close}
  operation executes.
  
  @@__init__
class_docstr_tok: ["Raised","when","an","operation","iterates","past","the","valid","input","range",".","This","exception","is","raised","in","``","end-of-file","''","conditions",",","such","as","when","a","@","{","tf.QueueBase.dequeue","}","operation","is","blocked","on","an","empty","queue",",","and","a","@","{","tf.QueueBase.close","}","operation","executes",".","@","@","__init__"]
docstr: Creates an `OutOfRangeError`.
docstr_tok: ["Creates","an","`","OutOfRangeError","`","."]
code: def __init__(self, node_def, op, message):
      """Creates an `OutOfRangeError`."""
      super().__init__(node_def, op, message, OUT_OF_RANGE)
  
imports: import traceback
  import warnings
  from .None import error_codes
label_desc: Use image node_id 1 to create a new OutOfRangeError object from inherited base classes: OpError with example: obj = OutOfRangeError(node_def, op, message)