Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: split legacy error utils #2982

Merged
merged 1 commit into from
Jan 8, 2025
Merged

refactor: split legacy error utils #2982

merged 1 commit into from
Jan 8, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jan 8, 2025

This PR separates Nitro (default) internal error handler and utils code from legacy top-level runtime/{error,util} / #internal/nitro/{error,utils}.

This refactor is to ensure we don't risk breaking backward compatibility with internal refactors.

nuxt 3.15: src:

import { isJsonRequest, normalizeError } from '#internal/nitro/utils'

(this will work as-is)

@pi0 pi0 merged commit e8d6099 into v2 Jan 8, 2025
4 checks passed
@pi0 pi0 deleted the refactor/split-err branch January 8, 2025 13:47
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