UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

10 lines 389 B
import { type ApiErrorSchema, UnleashError } from './unleash-error.js'; type Permission = string | string[]; declare class PermissionError extends UnleashError { statusCode: number; permissions: Permission; constructor(permission?: Permission, environment?: string); toJSON(): ApiErrorSchema; } export default PermissionError; //# sourceMappingURL=permission-error.d.ts.map