MPD  0.20.23
Public Member Functions
HttpStatusError Class Reference

Thrown when an unsuccessful status was received from the HTTP server. More...

#include <Error.hxx>

Inheritance diagram for HttpStatusError:
[legend]
Collaboration diagram for HttpStatusError:
[legend]

Public Member Functions

template<typename M >
 HttpStatusError (unsigned _status, M &&_msg) noexcept
 
unsigned GetStatus () const noexcept
 

Detailed Description

Thrown when an unsuccessful status was received from the HTTP server.

Definition at line 29 of file Error.hxx.

Constructor & Destructor Documentation

◆ HttpStatusError()

template<typename M >
HttpStatusError::HttpStatusError ( unsigned  _status,
M &&  _msg 
)
inlineexplicitnoexcept

Definition at line 34 of file Error.hxx.

Member Function Documentation

◆ GetStatus()

unsigned HttpStatusError::GetStatus ( ) const
inlinenoexcept

Definition at line 37 of file Error.hxx.


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