waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
Loading...
Searching...
No Matches
Public Member Functions | List of all members
waterlinked::sonar::HttpError Class Reference

Request failure or non-2xx HTTP response. More...

#include <waterlinkedsonar/http/errors.hpp>

Inheritance diagram for waterlinked::sonar::HttpError:
waterlinked::sonar::ForceSyncOngoingError waterlinked::sonar::TimeAlreadySynchronizedError

Public Member Functions

 HttpError (const std::string &what, int status_code)
 
int status_code () const noexcept
 HTTP status of the response, or 0 when no response arrived.
 

Detailed Description

Request failure or non-2xx HTTP response.

Constructor & Destructor Documentation

◆ HttpError()

waterlinked::sonar::HttpError::HttpError ( const std::string &  what,
int  status_code 
)
inline
Parameters
whatDescription of the failed request.
status_codeHTTP status, or 0 when no response arrived.

The documentation for this class was generated from the following file: