SubprocessError#

exception mobu.exceptions.SubprocessError(msg, *, returncode=None, stdout=None, stderr=None, cwd=None, env=None)#

Bases: SlackException

Running a subprocess failed.

Parameters:
to_sentry()#

Return an object with tags and contexts to add to Sentry events.

This is the generic version that only adds the username as a tag. Child exceptions may want to override it to add more metadata.

Return type:

SentryEventInfo