Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt)!: change statusCode type to number for error page template #6010

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

danielroe
Copy link
Member

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We are currently providing errorCode as string, which is counter intuitive. I think it should probably be a number instead. However, this is a breaking change if people are checking it directly.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@danielroe danielroe added bug Something isn't working dx 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing labels Jul 20, 2022
@danielroe danielroe requested a review from pi0 July 20, 2022 11:00
@danielroe danielroe self-assigned this Jul 20, 2022
@netlify
Copy link

netlify bot commented Jul 20, 2022

βœ… Deploy Preview for nuxt3-docs ready!

Name Link
πŸ”¨ Latest commit 0440025
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62d7e0557ffeee0008743c94
😎 Deploy Preview https://deploy-preview-6010--nuxt3-docs.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@pi0
Copy link
Member

pi0 commented Jul 20, 2022

Maybe merge this all together with #4539?

@danielroe
Copy link
Member Author

Do you want to do that rather than merge this immediately?

@pi0 pi0 changed the title fix(nuxt)!: provide error code as number fix(nuxt)!: change statusCode type to number for error page template Jul 20, 2022
@pi0 pi0 merged commit 92269dd into main Jul 20, 2022
@pi0 pi0 deleted the fix/error-code-number branch July 20, 2022 17:00
@pi0 pi0 mentioned this pull request Aug 5, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3.x bug Something isn't working dx 🍰 p2-nice-to-have Priority 2: nothing is broken but it's worth addressing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants