"""Bowtie exceptions."""
[docs]class YarnError(Exception):
"""Errors from ``Yarn``."""
pass
[docs]class WebpackError(Exception):
"""Errors from ``Webpack``."""
pass
[docs]class SizeError(Exception):
"""Size values must be a number."""
pass
[docs]class GridIndexError(IndexError):
"""Invalid index into the grid layout."""
pass
[docs]class NoUnusedCellsError(Exception):
"""All cells are used."""
pass
[docs]class SpanOverlapError(Exception):
"""Spans may not overlap."""
pass
[docs]class MissingRowOrColumn(Exception):
"""Missing a row or column."""
pass
[docs]class NotStatefulEvent(Exception):
"""This event is not stateful and cannot be paired with other events."""
pass
[docs]class SerializationError(TypeError):
"""Cannot serialize the data for command."""
pass