class Dry::Effects::Instructions::Raise
Attributes
error[R]
Public Class Methods
new(error)
click to toggle source
Calls superclass method
# File lib/dry/effects/instructions/raise.rb, line 11 def initialize(error) super() @error = error end
Public Instance Methods
call()
click to toggle source
# File lib/dry/effects/instructions/raise.rb, line 16 def call raise error end