Sha256: 5599336467659a5f6db06210ee94750561c30292432c4e8bd91865698d3e37aa
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
module Dry module Monads class UnwrapError < StandardError def initialize(ctx) super("value! was called on #{ ctx.inspect }") end end class InvalidFailureTypeError < StandardError def initialize(failure) super("Cannot create Failure from #{ failure.inspect }, it doesn't meet constraints") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dry-monads-0.4.0 | lib/dry/monads/errors.rb |