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

Error raise when cannot lookup an analyst note.

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

Error raise when cannot delete an analyst note.

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

Error raise when cannot lookup an analyst note.

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

Error raise when cannot post to preview endpoint.

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

Error raise when cannot post to publish endpoint.

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

Error raise when cannot search analyst notes.

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