class Kaitai::Struct::ValidationNotAnyOfError
Signals validation failure: we required “actual” value to be any of the given list, but it turned out that it's not.
Public Class Methods
new(actual, io, src_path)
click to toggle source
Calls superclass method
Kaitai::Struct::ValidationFailedError::new
# File lib/kaitai/struct/struct.rb, line 604 def initialize(actual, io, src_path) super("not any of the list, got #{actual.inspect}", io, src_path) @actual = actual end