Exception: Kaitai::Struct::UndecidedEndiannessError

Inherits:
KaitaiStructError show all
Defined in:
lib/kaitai/struct/struct.rb

Overview

Error that occurs when default endianness should be decided with a switch, but nothing matches (although using endianness expression implies that there should be some positive result).

Instance Method Summary collapse

Constructor Details

#initialize(src_path) ⇒ UndecidedEndiannessError

Returns a new instance of UndecidedEndiannessError.



584
585
586
# File 'lib/kaitai/struct/struct.rb', line 584

def initialize(src_path)
  super("unable to decide on endianness for a type", src_path)
end