class

Marten::HTTP::Errors::InvalidRequestParameters

Inherits Marten::HTTP::Errors::SuspiciousOperation < Exception < Reference < Object

Represents an error raised when request parameters cannot be parsed.

This exception is raised when the request body cannot be parsed according to its advertised content type (for example a malformed multipart/form-data payload). Such exception results in a bad request response sent to the client.