Exceptions

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

  • remaining_keys (List[str])

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

message (str)

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

  • valid_keys (List[str])

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

  • limit (float)

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

  • limit (float)

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

msg (str)

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

expected_value (str)

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