class Interaktor::Failure
Error raised during Interaktor::Context
failure. The error stores a copy of the failed context for debugging purposes.
Attributes
context[R]
@return [Interaktor::Context] the context of this failure instance
Public Class Methods
new(context = nil)
click to toggle source
@param context [Interaktor::Context] the context in which the error was
raised
Calls superclass method
# File lib/interaktor/failure.rb, line 9 def initialize(context = nil) @context = context super end