Module nari.util.exceptions

Nari-related exceptions

Expand source code
"""Nari-related exceptions"""

class CannotParseVersion(Exception):
    """Thrown when a version tuple cannot be parsed"""


class EventNotFound(Exception):
    """Thrown when events are not found"""


class InvalidChecksum(Exception):
    """Thrown when the checksum of an event doesn't match"""


class JobGaugeNotFound(Exception):
    """Thrown when gauge data is not found for job"""


class ActLineReadError(Exception):
    """Thrown when error reading a line from ACT log"""

Classes

class ActLineReadError (*args, **kwargs)

Thrown when error reading a line from ACT log

Expand source code
class ActLineReadError(Exception):
    """Thrown when error reading a line from ACT log"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class CannotParseVersion (*args, **kwargs)

Thrown when a version tuple cannot be parsed

Expand source code
class CannotParseVersion(Exception):
    """Thrown when a version tuple cannot be parsed"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class EventNotFound (*args, **kwargs)

Thrown when events are not found

Expand source code
class EventNotFound(Exception):
    """Thrown when events are not found"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class InvalidChecksum (*args, **kwargs)

Thrown when the checksum of an event doesn't match

Expand source code
class InvalidChecksum(Exception):
    """Thrown when the checksum of an event doesn't match"""

Ancestors

  • builtins.Exception
  • builtins.BaseException
class JobGaugeNotFound (*args, **kwargs)

Thrown when gauge data is not found for job

Expand source code
class JobGaugeNotFound(Exception):
    """Thrown when gauge data is not found for job"""

Ancestors

  • builtins.Exception
  • builtins.BaseException