I am writing an application in python that is dependent on the python Docker SDK. I noticed that if the user doesn't have docker running on their machine, then the error that is surfaced is not informative. I was looking for some sort of custom error type/code from the documentation but couldn't find anything. I would like to let the user know that that Docker is not running on their machine with a more informative error. How should I go about this?
Asked
Active
Viewed 61 times