mate_common.error module

Common exception classes and utilities for MATE.

exception mate_common.error.MateError

Bases: Exception

A common superclass for all MATE-related errors.

Prefer throwing a more specific subclass rather than this exception.

mate_common.error.process_error_to_message(cpe: subprocess.CalledProcessError) str
Parameters

cpe (subprocess.CalledProcessError) –

Return type

str