Skip to content

Commit 9ca097d

Browse files
committed
comment
1 parent f032c7e commit 9ca097d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dbos/errors.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ func (e *DBOSError) Unwrap() error {
5555
return e.wrappedErr
5656
}
5757

58+
// Implements https://pkg.go.dev/errors#Is
5859
func (e *DBOSError) Is(target error) bool {
5960
t, ok := target.(*DBOSError)
6061
if !ok {

0 commit comments

Comments
 (0)