HF RL Explorer

Task: Implement a Custom Exception Class Inheriting from std::exception

Task: Implement a Custom Exception Class Inheriting from std::exception: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a custom C++ exception class that correctly inherits from std::exception and allows passing a custom error message to the constructor. The exception class…

The task

You need to implement a custom C++ exception class that correctly inherits from `std::exception` and allows passing a custom error message to the constructor. The exception class should properly override the `what()` method to return the custom message.

Part of PrimeIntellect/Terminal-Lego-15k.