Skip to content

Errors

psengine.playbook_alerts.errors

PlaybookAlertBulkFetchError

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

Bases: PlaybookAlertError

Error raised when playbook alert bulk fetch fails.

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

PlaybookAlertError

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

Bases: RecordedFutureError

Error raised when playbook alert fails.

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

PlaybookAlertFetchError

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

Bases: PlaybookAlertError

Error raised when playbook alert fetch fails.

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

PlaybookAlertRetrieveImageError

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

Bases: PlaybookAlertError

Error raised when playbook alert image fetch fails.

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

PlaybookAlertSearchError

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

Bases: PlaybookAlertError

Error raised when playbook alert search query fails.

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

PlaybookAlertUpdateError

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

Bases: PlaybookAlertError

Error raised when playbook alert update fails.

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