diff --git a/x/accounts/internal/implementation/api_builder.go b/x/accounts/internal/implementation/api_builder.go index 2828a50c6676..ee8344b86c1a 100644 --- a/x/accounts/internal/implementation/api_builder.go +++ b/x/accounts/internal/implementation/api_builder.go @@ -153,8 +153,8 @@ func (r *QueryBuilder) makeHandler() (func(ctx context.Context, queryRequest any return r.er.makeHandler() } -// IsRoutingError returns true if the error is a routing error. -// which means that it was impossible to route the message to a handler. +// IsRoutingError returns true if the error is a routing error, +// which typically occurs when a message cannot be matched to a handler. func IsRoutingError(err error) bool { if err == nil { return false