class

Marten::HTTP::Errors::RequestBodyTooBig

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

Represents an error raised when a request body is too large.

This exception is raised when the size of a request body exceeds the configured maximum. This is to prevent large requests that could be used in the context of DOS attacks.