1
Define a class called BookingError that inherits from Exception
3
Call super().__init__(message) so the Exception base class works correctly
6
Demonstrate calling the function with a valid hour (e.g. 10) inside a try/except
7
Demonstrate calling the function with an invalid hour (e.g. 22) inside a try/except