mutwo.timeline_utilities

Object

Documentation

mutwo.timeline_utilities.EventPlacementRegisterError

mutwo.timeline_utilities.ExceedDurationError

mutwo.timeline_utilities.EventPlacementNotFoundError

mutwo.timeline_utilities.TooSmallRangeWarning

mutwo.timeline_utilities.UnresolvedConflict

class EventPlacementRegisterError(event_placement_to_register, message='')[source]

Bases: Exception

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


Parameters:

message (str) –

class ExceedDurationError(event_placement_to_register, duration)[source]

Bases: EventPlacementRegisterError

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


class EventPlacementNotFoundError(tag=None, index=None, event_placement=None)[source]

Bases: Exception

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


Parameters:
  • tag (Optional[str]) –

  • index (Optional[int]) –

class TooSmallRangeWarning(event_placement, time_range)[source]

Bases: Warning

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


class UnresolvedConflict(conflict)[source]

Bases: Exception

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.