Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::error::Exception Class Reference

Base exception class. More...

Inheritance diagram for gem::error::Exception:
Collaboration diagram for gem::error::Exception:

Public Member Functions

 Exception (int id)
 Constructor, sets error id.
int id () const
 Get error id.
char const * what () const noexcept override
 Get descriptive string about this error.

Detailed Description

Base exception class.

Constructor & Destructor Documentation

◆ Exception()

gem::error::Exception::Exception ( int id)
inline

Constructor, sets error id.

Parameters
idError id.

Member Function Documentation

◆ id()

int gem::error::Exception::id ( ) const
inline

Get error id.

Returns
Error id.

◆ what()

char const * gem::error::Exception::what ( ) const
inlineoverridenoexcept

Get descriptive string about this error.

Returns
Error description.