README
README
This is the list of custom errors of panthera platform
What is this repository for?
- This repo was created for handling custom errors for the platform
How do I get set up?
npm i @panthera-errors/custom-errors
Current user token validation middleware
import { currentUser } from '@panthera-errors/auth-validation';
User Required auth middleware
import { requireAuth } from '@panthera-errors/auth-validation';