Exceptions

exception pyimpspec.exceptions.ConnectionWithoutElements(Class)
exception pyimpspec.exceptions.DRTError
exception pyimpspec.exceptions.DuplicateParameterDefinition(key, remaining_keys, Class)
Parameters:
  • key (str)

  • remaining_keys (List[str])

exception pyimpspec.exceptions.ExpectedNumericValue(token)
exception pyimpspec.exceptions.ExpectedParameterIdentifier(Class)
exception pyimpspec.exceptions.FittingError
exception pyimpspec.exceptions.ImpedanceError
exception pyimpspec.exceptions.InfiniteImpedance
exception pyimpspec.exceptions.InfiniteLimit
exception pyimpspec.exceptions.InsufficientElementsInParallelConnection
exception pyimpspec.exceptions.InsufficientTokens
exception pyimpspec.exceptions.InvalidElementSymbol(identifier)
exception pyimpspec.exceptions.InvalidEquation
exception pyimpspec.exceptions.InvalidNumericValue(token, message)
Parameters:

message (str)

exception pyimpspec.exceptions.InvalidParameterDefinition(key, valid_keys, Class)
Parameters:
  • key (str)

  • valid_keys (List[str])

exception pyimpspec.exceptions.InvalidParameterKey
exception pyimpspec.exceptions.InvalidParameterLowerLimit(identifier, value, limit)
Parameters:
  • value (float)

  • limit (float)

exception pyimpspec.exceptions.InvalidParameterUpperLimit(identifier, value, limit)
Parameters:
  • value (float)

  • limit (float)

exception pyimpspec.exceptions.KramersKronigError
exception pyimpspec.exceptions.NotANumberImpedance
exception pyimpspec.exceptions.ParsingError(msg)
Parameters:

msg (str)

exception pyimpspec.exceptions.TokenizingError
exception pyimpspec.exceptions.TooManyParameterDefinitions(Class)
exception pyimpspec.exceptions.UnexpectedCharacter
exception pyimpspec.exceptions.UnexpectedIdentifier(token, expected_value)
Parameters:

expected_value (str)

exception pyimpspec.exceptions.UnexpectedToken(token, Class=None)
exception pyimpspec.exceptions.UnsupportedFileFormat
exception pyimpspec.exceptions.ZHITError