Sha256: cddb23a69907548d0f8f148d16594d9fb5b5e2792e0eb62427cd061f9dd39df4

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

# frozen_string_literal: true

module ConvenientService
  module Service
    module Plugins
      module HasResult
        module Entities
          class Result
            module Errors
              class NotExistingAttribute < ConvenientService::Error
                def initialize(attribute:)
                  message = <<~TEXT
                    Data attribute `#{attribute}` does NOT exist. Make sure the corresponding result returns it.
                  TEXT

                  super(message)
                end
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
convenient_service-0.1.0 lib/convenient_service/service/plugins/has_result/entities/result/errors.rb