Exception

Exception#

class Exception : public std::exception#

The openYuanRong Exception class.

Public Functions

inline const char *what() const noexcept override#

Obtain detailed information about the exception, including errCode, moduleCode and errMsg.

Returns:

The detailed information about the exception.

inline int Code() const#

Get the error code.

Returns:

The error code.

inline int MCode() const#

Get the module code.

Returns:

The module code.

inline std::string Msg() const#

Get the error message.

Returns:

The error message.