Sha256: 47ac73299a7be63ced97e495e040b27cb6eb5d2e8e8f65f676bce403e7cd74d0

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 Bytes

Contents

require 'hanami/routing/error'

module Hanami
  module Middleware
    # @since 1.3.0
    # @api private
    class BodyParser
      # Body parsing error
      # This is raised when parser fails to parse the body
      #
      # @since 1.3.0
      class BodyParsingError < Hanami::Routing::Parsing::BodyParsingError
      end

      # @since 1.3.0
      class UnknownParserError < Hanami::Routing::Parsing::UnknownParserError
      end

      class InvalidParserError < Hanami::Routing::Error
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hanami-router-1.3.2 lib/hanami/middleware/body_parser/errors.rb
hanami-router-1.3.1 lib/hanami/middleware/body_parser/errors.rb
hanami-router-1.3.0 lib/hanami/middleware/body_parser/errors.rb