Class ExpectedExceptionBase

Inheritance Relationships

Base Type

  • public std::runtime_error

Derived Types

Class Documentation

class ExpectedExceptionBase : public std::runtime_error

Serves as the base class for all expected, or business-logic, exceptions.

This class provides a common interface for exceptions that are part of the normal program flow, distinguishing them from unexpected system-level errors like out-of-memory or file not found.

Subclassed by csp::common::continuations::ErrorCodeException, csp::common::continuations::ResultException

Public Functions

inline ExpectedExceptionBase(const std::string &message)
virtual const ExceptionType GetExceptionType() const = 0