Skip to content

feat(interceptor): Allow to throw when adapting#27

Merged
pjechris merged 1 commit intomainfrom
feat/interceptor-throws
May 8, 2025
Merged

feat(interceptor): Allow to throw when adapting#27
pjechris merged 1 commit intomainfrom
feat/interceptor-throws

Conversation

@pjechris
Copy link
Owner

@pjechris pjechris commented May 8, 2025

Allow adapter to throw when transforming the request. This could be useful to prevent a request from happening.

In case of throwing:

  • The request won't be calling shouldRescue interceptor method
  • receivedResponse won't be called either

@pjechris pjechris merged commit 31cca8a into main May 8, 2025
1 check passed
@pjechris pjechris deleted the feat/interceptor-throws branch May 8, 2025 09:14
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