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

db: document isDbError() #7491

Merged
merged 3 commits into from
Mar 20, 2024
Merged

db: document isDbError() #7491

merged 3 commits into from
Mar 20, 2024

Conversation

bholmesdev
Copy link
Contributor

Description (required)

Document the new isDbError() utility for exception handling. This is under a new API reference header on @astrojs/db. To be honest, I worry this isn't discoverable, but I know it's a bit too advanced to put on the Astro DB page. Seemed like the best compromise.

Related issues & labels (optional)

  • Closes #
  • Suggested label:

Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 19, 2024 9:43pm
1 Ignored Deployment
Name Status Preview Updated (UTC)
docs-i18n ⬜️ Ignored (Inspect) Mar 19, 2024 9:43pm

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great @bholmesdev ! Couple of things to check on below! When resolved, yours to merge, or add merge-on-release if this feature isn't released yet! 🙌

src/content/docs/en/guides/integrations-guide/db.mdx Outdated Show resolved Hide resolved
src/content/docs/en/guides/integrations-guide/db.mdx Outdated Show resolved Hide resolved
bholmesdev and others added 2 commits March 19, 2024 17:15
Co-authored-by: Sarah Rainsberger <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
@bholmesdev bholmesdev added the merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) label Mar 19, 2024
@sarah11918 sarah11918 added the add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. label Mar 20, 2024
@bholmesdev bholmesdev merged commit 2e4895d into main Mar 20, 2024
7 checks passed
@bholmesdev bholmesdev deleted the feat/is-db-error branch March 20, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants