Skip to content

Module streamgen.exceptions

🔥 module containing streamgen exceptions.

View Source
"""🔥 module containing `streamgen` exceptions."""

class ParameterOutOfRangeError(RuntimeError):

    """Raised when a `parameter.update` leads to an invalid value."""

Classes

ParameterOutOfRangeError

class ParameterOutOfRangeError(
    /,
    *args,
    **kwargs
)

Raised when a parameter.update leads to an invalid value.

View Source
class ParameterOutOfRangeError(RuntimeError):

    """Raised when a `parameter.update` leads to an invalid value."""

Ancestors (in MRO)

  • builtins.RuntimeError
  • builtins.Exception
  • builtins.BaseException

Class variables

args

Methods

add_note

def add_note(
    ...
)

Exception.add_note(note) --

add a note to the exception

with_traceback

def with_traceback(
    ...
)

Exception.with_traceback(tb) --

set self.traceback to tb and return self.