#include <CscHttpClient.h>
Public Member Functions | |
| HttpErrorResponseException (const string &errorMessage, optional< unsigned > httpCode) noexcept | |
| ~HttpErrorResponseException () noexcept override=default | |
| optional< unsigned > | getHttpCode () const |
Public Member Functions inherited from conscience_utils::CscException | |
| CscException (const string &errorMessage) noexcept | |
| ~CscException () noexcept override=default | |
| const char * | what () const noexcept override |
| virtual const string & | getErrorMessage () const |
thrown when a http request returns a response code in error (no 2XX)
|
noexcept |
|
overridedefaultnoexcept |
| optional< unsigned > conscience_core::communication::HTTP::HttpErrorResponseException::getHttpCode | ( | ) | const |