Can we define a custom Exception subclass and raise that, rather than raising Exception? Using custom subclasses makes it easier for callers to catch specific exceptions without having to parse exception messages.