Sha256: 958f3e449e8b0feca1bd43746062f8df845f557c3d7a2794ab84c4e52c75849f

Contents?: true

Size: 521 Bytes

Versions: 4

Compression:

Stored size: 521 Bytes

Contents

# frozen_string_literal: true

module MediaTypes
  module Dsl
    class UninitializedConstructable < RuntimeError
      def message
        'Unable to generate constructable without a name, make sure to have called `use_name(name)` before.'
      end
    end

    # Raised when an error occurs during setting expected key type
    class KeyTypeExpectationError < StandardError; end

    class MissingValidationError < StandardError; end

    class OrganisationNotSetError < StandardError; end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
media_types-2.3.2 lib/media_types/dsl/errors.rb
media_types-2.2.0 lib/media_types/dsl/errors.rb
media_types-2.1.1 lib/media_types/dsl/errors.rb
media_types-2.1.0 lib/media_types/dsl/errors.rb