Skip to content

Commit

Permalink
Update x/accounts/internal/implementation/api_builder.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
testinginprod and coderabbitai[bot] authored Nov 20, 2023
1 parent 31cd9e3 commit 8d8b75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/accounts/internal/implementation/api_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d8b75a

Please sign in to comment.