Skip to content

Errors

psengine.threat_maps.errors

ThreatActorSearchError

ThreatActorSearchError(
    message='An error occurred. Raise exceptions with a message argument to see additional information',
    *args,
)

Bases: ThreatMapsError

Error raised when there was an error searching threat actors.

Source code in psengine/errors.py
def __init__(
    self,
    message='An error occurred. Raise exceptions with a message argument to see additional information',  # noqa: E501
    *args,
):
    super().__init__(message, *args)
    self.message = message

message instance-attribute

message = message

__str__

__str__()
Source code in psengine/errors.py
def __str__(self):
    return self.message

ThreatMapCategoriesError

ThreatMapCategoriesError(
    message='An error occurred. Raise exceptions with a message argument to see additional information',
    *args,
)

Bases: ThreatMapsError

Error raised when there was an error searching threat categories.

Source code in psengine/errors.py
def __init__(
    self,
    message='An error occurred. Raise exceptions with a message argument to see additional information',  # noqa: E501
    *args,
):
    super().__init__(message, *args)
    self.message = message

message instance-attribute

message = message

__str__

__str__()
Source code in psengine/errors.py
def __str__(self):
    return self.message

ThreatMapFetchError

ThreatMapFetchError(
    message='An error occurred. Raise exceptions with a message argument to see additional information',
    *args,
)

Bases: ThreatMapsError

Error raised when there was an issue fetching a threat map.

Source code in psengine/errors.py
def __init__(
    self,
    message='An error occurred. Raise exceptions with a message argument to see additional information',  # noqa: E501
    *args,
):
    super().__init__(message, *args)
    self.message = message

message instance-attribute

message = message

__str__

__str__()
Source code in psengine/errors.py
def __str__(self):
    return self.message

ThreatMapInfoError

ThreatMapInfoError(
    message='An error occurred. Raise exceptions with a message argument to see additional information',
    *args,
)

Bases: ThreatMapsError

Error raised when there was an error fetching available threat maps.

Source code in psengine/errors.py
def __init__(
    self,
    message='An error occurred. Raise exceptions with a message argument to see additional information',  # noqa: E501
    *args,
):
    super().__init__(message, *args)
    self.message = message

message instance-attribute

message = message

__str__

__str__()
Source code in psengine/errors.py
def __str__(self):
    return self.message

ThreatMapsError

ThreatMapsError(
    message='An error occurred. Raise exceptions with a message argument to see additional information',
    *args,
)

Bases: RecordedFutureError

Error raised when there was an issue with the threat maps API.

Source code in psengine/errors.py
def __init__(
    self,
    message='An error occurred. Raise exceptions with a message argument to see additional information',  # noqa: E501
    *args,
):
    super().__init__(message, *args)
    self.message = message

message instance-attribute

message = message

__str__

__str__()
Source code in psengine/errors.py
def __str__(self):
    return self.message