Exception: Vibe::Error::VibeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vibe/error.rb

Direct Known Subclasses

ClientError, ServiceError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ VibeError

Returns a new instance of VibeError.



6
7
8
9
# File 'lib/vibe/error.rb', line 6

def initialize(message)
  super(message)
  @response_message = message
end

Instance Attribute Details

#response_headersObject (readonly)

Returns the value of attribute response_headers.



4
5
6
# File 'lib/vibe/error.rb', line 4

def response_headers
  @response_headers
end

#response_messageObject (readonly)

Returns the value of attribute response_message.



4
5
6
# File 'lib/vibe/error.rb', line 4

def response_message
  @response_message
end