http_exception Class
Represents an HTTP error. This class holds an error message and an optional error code.
Warning
This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at https://casablanca.codeplex.com/documentation.
class http_exception : public std::exception;
Members
Public Constructors
Name |
Description |
---|---|
Overloaded. Creates an http_exception with just a string message and no error code. |
|
Public Methods
Name |
Description |
---|---|
Requirements
Header: http_msg.h
Namespace: web::http