Sha256: 73e7908f59043fffe7bcbf04ddcf5a3586423e655b8281ba4c63178b02598ba2

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 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

1 entries across 1 versions & 1 rubygems

Version Path
media_types-2.3.0 lib/media_types/dsl/errors.rb