Currently, only the HTTP status code and the standard HTTP description for this code is returned on API errors. But the Docker API also always returns some JSON with a message attribute holding a more verbose description of the error which occurred. This description would be helpful for debugging and should also be returned in the DockerError structure.
Currently, only the HTTP status code and the standard HTTP description for this code is returned on API errors. But the Docker API also always returns some JSON with a
messageattribute holding a more verbose description of the error which occurred. This description would be helpful for debugging and should also be returned in theDockerErrorstructure.