class · extends Exception
HardLabsError
The API refused a request or couldn't answer it.
from hardlabs_sdk import HardLabsErrorThe message is the server's explanation.
Attributes
statusint- The HTTP status, or
0when the server couldn't be reached. codestr | None- A machine-readable error code, when the server gives one.
bodydict- The server's full error response.