Skip to content

chore: change error helpers to use public interface types - #13036

Merged
teemingc merged 6 commits into
version-3from
helpers-class-to-interface
Feb 17, 2026
Merged

teemingc merged 6 commits into
version-3from
helpers-class-to-interface

Conversation

@teemingc

Copy link
Copy Markdown
Member

closes #12986

This PR changes the error, isHttpError, redirect, and isRedirect functions to use the public interface version of the HttpError and Redirect errors instead of our internal classes.


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change type of exported failure helpers from class to interface

4 participants