Tkrzw
Public Member Functions | List of all members
tkrzw::StatusException Class Referencefinal

Exception to convey the status of operations. More...

#include <tkrzw_lib_common.h>

Public Member Functions

 StatusException (const Status &status)
 Constructor. More...
 
Status GetStatus () const
 Gets the status object. More...
 

Detailed Description

Exception to convey the status of operations.

Constructor & Destructor Documentation

◆ StatusException()

tkrzw::StatusException::StatusException ( const Status status)
explicit

Constructor.

Parameters
statusThe status to convey.

Member Function Documentation

◆ GetStatus()

Status tkrzw::StatusException::GetStatus ( ) const

Gets the status object.

Returns
The status object.