Skip to main content
11

OUT_OF_RANGE

ActiveHTTP 400

The operation was attempted past the valid range – for example, seeking past the end of a file, or reading beyond the end of an iterator. Unlike INVALID_ARGUMENT, OUT_OF_RANGE is specifically about values that are outside the valid operating range.

Description

OUT_OF_RANGE is a specialized form of INVALID_ARGUMENT. It indicates that a value is valid in type but outside the acceptable range for the current operation. For example, a valid integer that exceeds the maximum index of a collection.

Common causes

  • Iterator exhausted
  • Offset beyond file end
  • Index beyond collection size

HTTP equivalent

HTTP 400 – View status code reference →