Sha256: ec86d9f578950c44a72c836f3f56d97cecd8a943912775f91486c8d768ce9371

Contents?: true

Size: 565 Bytes

Versions: 51

Compression:

Stored size: 565 Bytes

Contents

module Dry
  module Mutations
    module Errors
      class AnonymousTypeDetected < StandardError # :nodoc:
        attr_reader :type, :cause
        def initialize type, cause = nil
          @type = type
          @cause = cause
        end
      end

      class TypeError < StandardError # :nodoc:
      end

      class ChainExecutionError < StandardError # :nodoc:
        def initialize left
          super left.inspect # FIXME
        end
      end
    end
  end
end

require 'dry/mutations/errors/error_atom'
require 'dry/mutations/errors/error_compiler'

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
dry-mutations-1.6.0 lib/dry/mutations/errors.rb
dry-mutations-1.5.7 lib/dry/mutations/errors.rb
dry-mutations-1.5.6 lib/dry/mutations/errors.rb
dry-mutations-1.5.5 lib/dry/mutations/errors.rb
dry-mutations-1.5.4 lib/dry/mutations/errors.rb
dry-mutations-1.5.3 lib/dry/mutations/errors.rb
dry-mutations-1.5.2 lib/dry/mutations/errors.rb
dry-mutations-1.5.1 lib/dry/mutations/errors.rb
dry-mutations-1.5.0 lib/dry/mutations/errors.rb
dry-mutations-1.3.6 lib/dry/mutations/errors.rb
dry-mutations-1.3.5 lib/dry/mutations/errors.rb
dry-mutations-1.3.4 lib/dry/mutations/errors.rb
dry-mutations-1.3.3 lib/dry/mutations/errors.rb
dry-mutations-1.3.2 lib/dry/mutations/errors.rb
dry-mutations-1.3.1 lib/dry/mutations/errors.rb
dry-mutations-1.1.3 lib/dry/mutations/errors.rb
dry-mutations-1.1.1 lib/dry/mutations/errors.rb
dry-mutations-1.1.0 lib/dry/mutations/errors.rb
dry-mutations-1.0.0 lib/dry/mutations/errors.rb
dry-mutations-0.99.100 lib/dry/mutations/errors.rb