You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2023/08/03 21:13:00 UTC
[jira] [Created] (AVRO-3823) Show helpful error messages
Kousuke Saruta created AVRO-3823:
------------------------------------
Summary: Show helpful error messages
Key: AVRO-3823
URL: https://issues.apache.org/jira/browse/AVRO-3823
Project: Apache Avro
Issue Type: Bug
Components: rust
Affects Versions: 1.12.0
Reporter: Kousuke Saruta
The current Rust binding doesn't show helpful error messages.
Actually, error types are implemented with helpful error messages.
This is an example.
{code:java}
#[error("No `name` field")]
GetNameField,
{code}
But those error messages are not shown.
Given we try to a invalid schema which contains no name field, we expect to get "No `name` field" but the actual is "GetNameFIeld", which makes it difficult for users to resolve the problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)