class Kaitai::Struct::ValidationGreaterThanError

Signals validation failure: we required “actual” value to be less than or equal to “max”, but it turned out that it's not.

Public Class Methods

new(max, actual, io, src_path) click to toggle source
# File lib/kaitai/struct/struct.rb, line 593
def initialize(max, actual, io, src_path)
  super("not in range, max #{max.inspect}, but got #{actual.inspect}", io, src_path)
  @max = max
  @actual = actual
end