The basic exception is called Exception and can be used anywhere in your program. In real life, however, no program nor library should ever raise Exception directly: it's not specific enough to be helpful.
The basic exception is called Exception and can be used anywhere in your program. In real life, however, no program nor library should ever raise Exception directly: it's not specific enough to be helpful.