Nuxtjs Guideline: ErrorHandling — Use createError for errors. Description: Create errors with proper status codes. Do: createError with statusCode. Don't: throw new Error. Good Example: throw createError({ statusCode: 404, statusMessage: 'Not Found' }). Bad Example: throw new Error('Not Found'). Severity: High. Docs: https://nuxt.com/docs/api/utils/create-error.