bitcoin_http::ContentTooLargeError

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

NameDescription
std::runtime_error

Member Functions

Name
operator=
what [virtual]

Using Declarations

NameDescription
ContentTooLargeError Inherit the constructors from std::runtime_error.