You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const { packageName, version } =v.parse(PackageRouteParamsSchema, {
125
+
packageName: rawPackageName,
126
+
version: rawVersion,
127
+
})
128
+
```
129
+
130
+
#### Error handling with `handleApiError`
131
+
132
+
Use the `handleApiError` utility for consistent error handling in API routes. It re-throws H3 errors (like 404s) and wraps other errors with a fallback message:
0 commit comments