Open eggplants opened 2 years ago
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.
Exception
pyderman.Error.BrowserError
Good idea. Generally any error raised signifies that this library has failed, but it would certainly be better to add more context there.
This package often uses
Exception
class when raising an error. But I suggest to replace them with more precise, detail, and internal Error classes likepyderman.Error.BrowserError
to make easy to handle properly.