Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Catching an exception

CameraMovementError is an exception class that should be thrown when an error occurs while manipulating camera movement.

CameraMovementError is an exception class that should be thrown when an error occurs while manipulating camera movement.

try {
} catch (CameraMovementError &e) {
std::cerr << e.what() << std::endl;
}

an exception