The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/lib/errors/OldUrlRoomError.ts

16 lines
452 B

import type { IRoom, RoomType } from '@rocket.chat/core-typings';
import { RocketChatError } from './RocketChatError';
type OldUrlRoomErrorDetails =
| { rid: IRoom['_id'] }
| {
type: RoomType;
reference: string;
};
export class OldUrlRoomError extends RocketChatError<'old-url-format', OldUrlRoomErrorDetails> {
constructor(message = 'Old Url Format', details: OldUrlRoomErrorDetails) {
super('old-url-format', message, details);
}
}