Sha256: d324dced9c82663d98a6ade055ea32f1f3f68038aaf9ea6ab327c8d6f6d1a70c

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

module Dio
  module Errors
    # Error raised when no deconstruction method is available on an object being
    # treated like an Array deconstruction.
    #
    # @author [baweaver]
    # @since 0.0.1
    class NoDeconstructionMethod < StandardError
      # Error message
      MSG = 'Object provided no method of deconstruction (to_a, to_ary, map, Enumerable)'

      def initialize(msg=MSG) = super
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dio-0.0.2 lib/dio/errors.rb
dio-0.0.1 lib/dio/errors.rb