These else clauses should also check the type and throw an error (like `arrayError`) rather than assuming `Number` and risking a `ClassCastException` that won't report the expected Avro type.