Skip to content

fixed onerror not pasing preverror and onsuccess not checking errnotfound#61

Open
encleine wants to merge 1 commit intokalbhor:mainfrom
encleine:fix/resultacess
Open

fixed onerror not pasing preverror and onsuccess not checking errnotfound#61
encleine wants to merge 1 commit intokalbhor:mainfrom
encleine:fix/resultacess

Conversation

@encleine
Copy link

@encleine encleine commented Mar 9, 2026

this is a small fix to 2 problems that caused a bit of confusion when I was using this package
on success not checking ErrNotFound meant I had to call save even when I don't have anything to save
and PrevErr is really helpful to be passed to onError jobs for example in cleanup jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant