ImFusion C++ SDK 4.4.0
SimpleErrorMessage Class Reference
Inheritance diagram for SimpleErrorMessage:

Public Member Functions

 SimpleErrorMessage (std::string message, std::string file, int line)
std::string domain () const override
int id () const override
 Retrieves the unique identifier for the error.
std::string message () const override
Public Member Functions inherited from ErrorInheritanceHelper< SimpleErrorMessage >
 ~ErrorInheritanceHelper () override=default
 Override destructor.
 ErrorInheritanceHelper (const ErrorInterface &ei)
std::unique_ptr< SimpleErrorMessageclone () const &
 Creates a copy of the current instance.

Member Function Documentation

◆ domain()

std::string SimpleErrorMessage::domain ( ) const
nodiscardoverride
Returns
String representing the category

◆ id()

int SimpleErrorMessage::id ( ) const
nodiscardoverride

Retrieves the unique identifier for the error.

Returns
The error ID.

◆ message()

std::string SimpleErrorMessage::message ( ) const
nodiscardoverride
Returns
Human-readable description of the error.

The documentation for this class was generated from the following file:
  • RoboticsPlugin/Include/ImFusion/Robotics/Error.h
Search Tab / S to search, Esc to close