Exception: Tinybucket::Error::BaseError

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

Direct Known Subclasses

ServiceError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ BaseError

Returns a new instance of BaseError.



8
9
10
11
# File 'lib/tinybucket/error/base_error.rb', line 8

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

Instance Attribute Details

#response_headersObject (readonly)

Returns the value of attribute response_headers.



6
7
8
# File 'lib/tinybucket/error/base_error.rb', line 6

def response_headers
  @response_headers
end

#response_messageObject (readonly)

Returns the value of attribute response_message.



6
7
8
# File 'lib/tinybucket/error/base_error.rb', line 6

def response_message
  @response_message
end