RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/lib/errors/NotAuthorizedError.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { RocketChatError } from './RocketChatError';

export class NotAuthorizedError extends RocketChatError<'not-authorized'> {
    constructor(message = 'Not authorized', details?: string) {
        super('not-authorized', message, details);
    }
}