CppCMS
|
#include <cppcms/http_content_filter.h>
Public Member Functions | |
abort_upload (int status_code) | |
int | code () const |
Public Member Functions inherited from cppcms::cppcms_error | |
cppcms_error (int err, std::string const &error) | |
cppcms_error (std::string const &error) | |
Public Member Functions inherited from booster::runtime_error | |
runtime_error (std::string const &s) | |
Public Member Functions inherited from booster::backtrace | |
backtrace (size_t frames_no=default_stack_size) | |
size_t | stack_size () const |
void * | return_address (unsigned frame_no) const |
void | trace_line (unsigned frame_no, std::ostream &out) const |
std::string | trace_line (unsigned frame_no) const |
std::string | trace () const |
void | trace (std::ostream &out) const |
Additional Inherited Members | |
Static Public Attributes inherited from booster::backtrace | |
static size_t const | default_stack_size = 32 |
Exceptions that is thrown to abort content upload progress indicating an error
cppcms::http::abort_upload::abort_upload | ( | int | status_code | ) |
Abort upload progress, thrown from classes derived from basic_content_filter to abort the upload progress. status_code is the HTTP error code returned, for example 413 requested entity is too large
int cppcms::http::abort_upload::code | ( | ) | const |
Get the code