Exception: Whitestone::FailureOccurred
- Defined in:
- lib/whitestone.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
-
#context ⇒ Object
readonly
Returns the value of attribute context.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(context, message, backtrace) ⇒ FailureOccurred
constructor
A new instance of FailureOccurred.
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, , backtrace) @context = context @message = @backtrace = backtrace end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
34 35 36 |
# File 'lib/whitestone.rb', line 34 def backtrace @backtrace end |
#context ⇒ Object (readonly)
Returns the value of attribute context.
34 35 36 |
# File 'lib/whitestone.rb', line 34 def context @context end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
34 35 36 |
# File 'lib/whitestone.rb', line 34 def @message end |