BadTypeError

exception audformat.errors.BadTypeError(invalid_value, expected_type)[source]

Raised when a value has an unexpected type.

Parameters
  • invalid_value (Any) – value causing the error

  • expected_type (type) – expected value type