Struct ExpKitError

Inheritance Relationships

Base Type

  • public std::runtime_error

Struct Documentation

struct ExpKitError : public std::runtime_error

Custom exception class for ExpKit-specific errors.

Public Functions

template<typename ...Args>
inline ExpKitError(const char *error_msg)

Constructs an ExpKitError with a single error message.

Parameters:

error_msg – The error message.

template<typename ...Args>
inline ExpKitError(const char *format, const Args&... args)

Constructs an ExpKitError with a formatted error message.

Template Parameters:

Args – The types of the arguments for the format string.

Parameters:
  • format – The format string.

  • args – The arguments for the format string.