Skip to content

Exceptions API Reference#

MiruError #

Bases: Exception

Base class for all miru exceptions.

RowFullError #

Bases: MiruError

Raised when a row of components is full and cannot be added to.

HandlerFullError #

Bases: MiruError

Raised when an ItemHandler instance is full and cannot fit more components.

ItemAlreadyAttachedError #

Bases: MiruError

Raised when an item is already attached to a handler and the requested operation is not possible because of it.

NoResponseIssuedError #

Bases: MiruError

Raised when no response was issued by a handler. Interactions must be responded to or deferred within 3 seconds to avoid this error.

miru tries to automatically defer responses when possible, so this error should rarely occur, unless autodefer is disabled.