Skip to main content

hackagent.errors

Contains shared errors types that can be raised from API functions

UnexpectedStatus Objects

class UnexpectedStatus(Exception)

Raised by api functions when the response status an undocumented status and Client.raise_on_unexpected_status is True

HackAgentError Objects

class HackAgentError(Exception)

Base exception class for HackAgent errors

ApiError Objects

class ApiError(HackAgentError)

Raised when an API call fails