emilk commented on PR #10736:
URL: https://github.com/apache/arrow-rs/pull/10736#issuecomment-5493048867

   My plan was to have a few specific error types (e.g. `OverflowError`) plus 
one crate-level `enum BufferError` that joins all of them (with `mpl 
From<OverflowError> for BufferError` etc). I think that approach strikes a good 
balance between specific ("this function can only fail due to overflows") and 
ergonomic ("this function can fail for several reasons; we'll document which").
   
   We would also `impl From<BufferError> for ArrowError`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to