SIGN IN SIGN UP
payloadcms / payload UNCLAIMED

Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.

0 0 298 TypeScript

refactor: replace generic Error('Unauthorized') with UnauthorizedError (#14879)

Refactors all auth checks to throw `UnauthorizedError` instead of the
generic `Error('Unauthorized')`. This ensures consistent unauthorized
errors being thrown
A
Alessio Gravili committed
c9a8aa03440ccbda296da075974282b7ccf14dcf
Parent: dcecc46
Committed by GitHub <noreply@github.com> on 12/10/2025, 5:07:42 PM