Exception: SkypeCheck::QueryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/skype_check/query_error.rb

Overview

wrapper around all possible network and other io exceptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_error) ⇒ QueryError

Returns a new instance of QueryError.



6
7
8
# File 'lib/skype_check/query_error.rb', line 6

def initialize(source_error)
  @source_error = source_error
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/skype_check/query_error.rb', line 4

def message
  @message
end

#source_errorObject (readonly)

Returns the value of attribute source_error.



4
5
6
# File 'lib/skype_check/query_error.rb', line 4

def source_error
  @source_error
end