pyderman
pyderman copied to clipboard
Define errors and replace `Exception` with them
This package often uses Exception class when raising an error. But I suggest to replace them with more precise, detail, and internal Error classes like pyderman.Error.BrowserError to make easy to handle properly.
Good idea. Generally any error raised signifies that this library has failed, but it would certainly be better to add more context there.