Skip to content

Normalize Throwable rejection handling - #78

Open
simPod wants to merge 1 commit into
overblog:masterfrom
simPod:fix/throwable-values
Open

Normalize Throwable rejection handling#78
simPod wants to merge 1 commit into
overblog:masterfrom
simPod:fix/throwable-values

Conversation

@simPod

@simPod simPod commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Treat both Exception and Error values as rejected loads.
  • Propagate Throwable consistently through DataLoader and promise adapters.
  • Keep unwrap behavior consistent for all supported adapters.

Motivation

PHP Error implements Throwable but not Exception. Exception-only checks could resolve errors as successful values or lose adapter rejections.

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