class Dry::Monads::UnwrapError
An unsuccessful result of extracting a value from a monad.
Attributes
receiver[R]
Public Class Methods
new(receiver)
click to toggle source
Calls superclass method
# File lib/dry/monads/errors.rb, line 9 def initialize(receiver) @receiver = receiver super("value! was called on #{receiver.inspect}") end