@vortex-js/core
Version:
A simple and powerful role-based access control (RBAC) middleware for Express.js, designed to be easy to use and integrate with your existing applications. It provides a flexible way to manage user permissions and roles, making it ideal for building secur
20 lines (19 loc) • 500 B
TypeScript
/**
* Custom errors
*/
export declare class ApiRouteNotFoundError extends Error {
constructor(message: string);
}
export declare class InvalidRouteError extends Error {
constructor(message: string);
}
export declare class NotFoundRouteError extends Error {
constructor(message: string);
}
export declare class SocketAuthError extends Error {
constructor(message: string);
}
export declare class SocketIOError extends Error {
message: string;
constructor(message: string);
}