class Clingon::UnexpectedTypeError

Attributes

received[R]

Public Class Methods

new(payload) click to toggle source
Calls superclass method
# File lib/clingon/errors.rb, line 42
def initialize(payload)
  @received = payload[:received]
  msg = "Type #{received} is not valid"
  super(msg)
end