Skip to content

Commit 5a5806e

Browse files
committed
use handler pkg's ErrorFn
1 parent 8ab9b40 commit 5a5806e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

try/out.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
type (
1111
// ErrFn is function type for try.OutX handlers.
12-
ErrFn = func(err error) error
12+
ErrFn = handler.ErrorFn
1313

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

0 commit comments

Comments
 (0)