stp.Error

class stp.Error(message='', **fields)

The base of every STP exception.

Attributes: code (ErrorCode), recoverable, function (the C API function that refused), argument_index (0-based or None), option (the option name for the OPTION_* codes) and terms (the terms involved, when known).

argument_index = None
code = None
function = ''
option = None
recoverable = True
terms = ()