class Kaitai::Struct::KaitaiStructError

Common ancestor for all error originating from Kaitai Struct usage. Stores KSY source path, pointing to an element supposedly guilty of an error.

Public Class Methods

new(msg, src_path) click to toggle source
Calls superclass method
# File lib/kaitai/struct/struct.rb, line 541
def initialize(msg, src_path)
  super("#{src_path}: #{msg}")
  @src_path = src_path
end