Sha256: e04cf5705b7e0bec198fbe614bb903ea3acfa2fa32d27bc2bf202ffe6ab4c311
Contents?: true
Size: 619 Bytes
Versions: 15
Compression:
Stored size: 619 Bytes
Contents
# frozen_string_literal: true require "hanami/middleware/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::Middleware::Error end # @since 1.3.0 class UnknownParserError < Hanami::Middleware::Error def initialize(name) super("Unknown body parser: `#{name.inspect}'") end end class InvalidParserError < Hanami::Middleware::Error end end end end
Version data entries
15 entries across 15 versions & 1 rubygems