class Avromatic::Model::MessageDecoder::MagicByteError

Public Class Methods

new(magic_byte) click to toggle source
Calls superclass method
# File lib/avromatic/model/message_decoder.rb, line 22
def initialize(magic_byte)
  super("Expected data to begin with a magic byte, got '#{magic_byte}'")
end