UNPKG

@dax-crafta/auth

Version:

A powerful, flexible, and secure authentication plugin for the Crafta framework. Supports JWT, social login, 2FA, RBAC, audit logging, and enterprise-grade security features.

9 lines (7 loc) 158 B
class ApiError extends Error { constructor(message, status = 400) { super(message); this.status = status; } } module.exports = ApiError;