PDF
AGVC SDK  0.8.0
agvc_interface::AgvcException Class Reference

#include <type.h>

Inheritance diagram for agvc_interface::AgvcException:
Collaboration diagram for agvc_interface::AgvcException:

Public Member Functions

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

Private Attributes

int code_
std::string message_

Detailed Description

Definition at line 879 of file type.h.

Constructor & Destructor Documentation

◆ AgvcException() [1/2]

agvc_interface::AgvcException::AgvcException ( int code,
const std::string & prefix,
const std::string & message )
inlinenoexcept

Definition at line 882 of file type.h.

References code().

Here is the call graph for this function:

◆ AgvcException() [2/2]

agvc_interface::AgvcException::AgvcException ( int code,
const std::string & message )
inlinenoexcept

Definition at line 887 of file type.h.

References code().

Here is the call graph for this function:

Member Function Documentation

◆ code()

int agvc_interface::AgvcException::code ( ) const
inline

Definition at line 901 of file type.h.

References code_.

Referenced by AgvcException(), and AgvcException().

Here is the caller graph for this function:

◆ type()

error_type agvc_interface::AgvcException::type ( ) const
inline

◆ what()

const char * agvc_interface::AgvcException::what ( ) const
inlineoverridenoexcept

Definition at line 902 of file type.h.

References message_.

Member Data Documentation

◆ code_

int agvc_interface::AgvcException::code_
private

Definition at line 905 of file type.h.

Referenced by code(), and type().

◆ message_

std::string agvc_interface::AgvcException::message_
private

Definition at line 906 of file type.h.

Referenced by what().


The documentation for this class was generated from the following file:
  • include/agvc_interface/type.h