Exceptions

class ssst.SsstError

Bases: Exception

The base for all SSST errors. Not to be raised directly, but could be used if you want to catch any except this program may explicitly raise.

class ssst.InternalError

Bases: ssst.SsstError

Raised when things that should not happen do, and they aren’t the user’s fault.

class ssst.QtWrapperError

Bases: ssst.SsstError

To be used for any error related to dealing with qts that doesn’t get a dedicated exception type.

class ssst.ReuseError(cls)

Bases: ssst.SsstError

Some widgets are not meant for reuse and will raise this error when reuse is attempted.

class ssst.UnexpectedEmissionError(emission)

Bases: ssst.InternalError

Like an ssst.InternalError, but specifically for emissions that we didn’t expect.