Thrown when a request body exceeds MAX_BODY_SIZE (or will exceed, in chunked transfer) so the server can reply with more specific code 413 (content too large) vs general 400 (bad request)

Synopsis

Declared in <httpserver.h>

struct ContentTooLargeError
    : std::runtime_error

Base Classes

Name

Description

std::runtime_error

Member Functions

Name

operator=

what [virtual]

Using Declarations

Name

Description

ContentTooLargeError

Inherit the constructors from std::runtime_error.

Created with MrDocs