Skip to content

Errors

psengine.analyst_notes.errors

AnalystNoteAttachmentError

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

Bases: RecordedFutureError

Raised when an analyst note attachment cannot be retrieved.

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

AnalystNoteDeleteError

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

Bases: RecordedFutureError

Raised when an analyst note cannot be deleted.

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

AnalystNoteError

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

Bases: RecordedFutureError

Error raise when the init of AnalystNote is failing.

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

AnalystNoteLookupError

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

Bases: RecordedFutureError

Raised when an analyst note cannot be retrieved.

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

AnalystNotePreviewError

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

Bases: RecordedFutureError

Raised when an analyst note cannot be previewed.

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

AnalystNotePublishError

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

Bases: RecordedFutureError

Raised when an analyst note cannot be published.

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

AnalystNoteSearchError

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

Bases: RecordedFutureError

Raised when an analyst note cannot be searched.

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