AUBO SDK  0.26.0
Loading...
Searching...
No Matches
arcs::common_interface::AuboException Class Reference

Custom exception class AuboException. More...

#include <type_def.h>

Inheritance diagram for arcs::common_interface::AuboException:
Collaboration diagram for arcs::common_interface::AuboException:

Public Member Functions

 AuboException (int code, const std::string &prefix, const std::string &message) noexcept
 
 AuboException (int code, const std::string &message) noexcept
 
error_type type () const
 
int code () const
 
const char * what () const noexcept override
 

Private Attributes

int code_
 Exception code.
 
std::string message_
 

Detailed Description

Custom exception class AuboException.

Definition at line 868 of file type_def.h.

Constructor & Destructor Documentation

◆ AuboException() [1/2]

arcs::common_interface::AuboException::AuboException ( int  code,
const std::string &  prefix,
const std::string &  message 
)
inlinenoexcept

Definition at line 871 of file type_def.h.

◆ AuboException() [2/2]

arcs::common_interface::AuboException::AuboException ( int  code,
const std::string &  message 
)
inlinenoexcept

Definition at line 877 of file type_def.h.

Member Function Documentation

◆ code()

int arcs::common_interface::AuboException::code ( ) const
inline

Definition at line 894 of file type_def.h.

References code_.

◆ type()

error_type arcs::common_interface::AuboException::type ( ) const
inline

◆ what()

const char * arcs::common_interface::AuboException::what ( ) const
inlineoverridenoexcept

Definition at line 895 of file type_def.h.

References message_.

Member Data Documentation

◆ code_

int arcs::common_interface::AuboException::code_
private

Exception code.

Definition at line 898 of file type_def.h.

Referenced by code(), and type().

◆ message_

std::string arcs::common_interface::AuboException::message_
private

Definition at line 899 of file type_def.h.

Referenced by what().


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