class HyperResource::Exception

Attributes

cause[RW]

The internal exception which led to this one, if any.

Public Class Methods

new(message, attrs={}) click to toggle source
Calls superclass method
# File lib/hyper_resource/exceptions.rb, line 6
def initialize(message, attrs={}) # @private
  self.cause = attrs[:cause]
  super(message)
end