Class: Rex::Proto::Thrift::Error::UnexpectedReplyError

Inherits:
ThriftError
  • Object
show all
Defined in:
lib/rex/proto/thrift/error.rb

Overview

Raised when an unexpected reply is received.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reply, msg = 'An unexpected Thrift reply was received.') ⇒ UnexpectedReplyError

Returns a new instance of UnexpectedReplyError.



16
17
18
19
# File 'lib/rex/proto/thrift/error.rb', line 16

def initialize(reply, msg='An unexpected Thrift reply was received.')
  @reply = reply
  super(msg)
end

Instance Attribute Details

#replyObject (readonly)

Returns the value of attribute reply.



15
16
17
# File 'lib/rex/proto/thrift/error.rb', line 15

def reply
  @reply
end