Skip to content

Errors

psengine.identity.errors

DetectionsFetchError

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

Bases: IdentityError

Error raised when there is an issue searching for detections.

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

IdentityError

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

Bases: RecordedFutureError

Error raised when there is an error with the Identity 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

IdentityLookupError

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

Bases: IdentityError

Error raised when there is an issue looking up identities.

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

IdentitySearchError

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

Bases: IdentityError

Error raised when there is an issue searching identities.

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

IncidentReportFetchError

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

Bases: IdentityError

Error raised when there is an issue fetching an incident report.

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