Sha256: cd1e32d497b801bdf5c564f9aa4a42a9c60dcadf380305bc03ef7dfdb0ed42d9

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

require 'media_types/deserialization/error'

module MediaTypes
  module Deserialization
    class ContentFormatError < defined?(::ActionController) ? ::ActionController::BadRequest : Error
      def initialize(message)
        super message
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
media_types-deserialization-0.1.3 lib/media_types/deserialization/content_format_error.rb
media_types-deserialization-0.1.2 lib/media_types/deserialization/content_format_error.rb
media_types-deserialization-0.1.1 lib/media_types/deserialization/content_format_error.rb
media_types-deserialization-0.1.0 lib/media_types/deserialization/content_format_error.rb