Skip to content

Commit

Permalink
use handler pkg's ErrorFn
Browse files Browse the repository at this point in the history
  • Loading branch information
lainio committed Mar 11, 2024
1 parent 8ab9b40 commit 5a5806e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion try/out.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

type (
// ErrFn is function type for try.OutX handlers.
ErrFn = func(err error) error
ErrFn = handler.ErrorFn

// Result is the base of our error handling language for try.Out functions.
Result struct {
Expand Down

0 comments on commit 5a5806e

Please sign in to comment.