Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-3823

Show helpful error messages

    XMLWordPrintableJSON

Details

    Description

      The current Rust binding doesn't show helpful error messages.
      Actually, error types are implemented with helpful error messages.
      This is an example.

      #[error("No `name` field")] 
      GetNameField,  
      

      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.

      Attachments

        Issue Links

          Activity

            People

              sarutak Kousuke Saruta
              sarutak Kousuke Saruta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h