For example, any error related to decoding/encoding from any module would point to the GenericError::DecodeError variant. This should standardize error logging a bit, as well remove lots of extraneous variants that are copied between ibc-rs's different error types.
This will serve to streamline and de-duplicate error variants shared amongst ibc-rs's different error types. @rnbguy suggestion is as follows:
For example, any error related to decoding/encoding from any module would point to the
GenericError::DecodeError
variant. This should standardize error logging a bit, as well remove lots of extraneous variants that are copied between ibc-rs's different error types.