1 100
import {EXCEPTIONS} from "../constants/exceptions.constant";
2

3 100
import {SocketError} from "../exceptions/socket.exception";
4

5

6
export function BreakMiddleware();
7
export function BreakMiddleware(reason:any);
8 100
export function BreakMiddleware(reason?:any){
9 100
    throw new SocketError(EXCEPTIONS.BREAK_MIDDLEWARE.message,EXCEPTIONS.BREAK_MIDDLEWARE.code,reason,false);
10
}

Read our documentation on viewing source code .

Loading