Exception: Whitestone::FailureOccurred

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context, message, backtrace) ⇒ FailureOccurred

Returns a new instance of FailureOccurred.



29
30
31
32
33
# File 'lib/whitestone.rb', line 29

def initialize(context, message, backtrace)
  @context = context
  @message = message
  @backtrace = backtrace
end

Instance Attribute Details

#backtraceObject (readonly)

Returns the value of attribute backtrace.



34
35
36
# File 'lib/whitestone.rb', line 34

def backtrace
  @backtrace
end

#contextObject (readonly)

Returns the value of attribute context.



34
35
36
# File 'lib/whitestone.rb', line 34

def context
  @context
end

#messageObject (readonly)

Returns the value of attribute message.



34
35
36
# File 'lib/whitestone.rb', line 34

def message
  @message
end