unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
21 lines • 643 B
TypeScript
import { type ApiErrorSchema, UnleashError } from '../error/unleash-error.js';
interface IBaseOptions {
type: string;
path: string;
message: string;
defaultHidden?: boolean;
}
interface IOptions extends IBaseOptions {
options?: IBaseOptions[];
}
export declare class AuthenticationRequired extends UnleashError {
statusCode: number;
private type;
private path;
private defaultHidden;
private options?;
constructor({ type, path, message, options, defaultHidden, }: IOptions);
toJSON(): ApiErrorSchema;
}
export default AuthenticationRequired;
//# sourceMappingURL=authentication-required.d.ts.map