Consider making errors in internal/ public #3552
Labels
needs discussion
Issues that need discussion before they can be worked on
type: code hygiene
Clean up code but without changing functionality or interfaces
Summary
Make the errors currently residing in
internal/
public.Problem Definition
Currently, a number of errors mirroring errors in the sdk are defined in the
internal
folder. This makes them available for use internally in theibc-go
module but inaccessible from external modules.Since these errors do get returned from certain functions in the
ibc-go
module it would make sense to have them also be available to external callers (one example of this is us in thee2e
module whereby we require checking for the error returned, reference: #3475 (comment)).Proposal
Make the errors currently defined as internal external.
For Admin Use
The text was updated successfully, but these errors were encountered: