4187d9343c85cfe24b0a205f55d7868346be4d84
[motion2.git] / server / errors / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4d30=['json','send','exports','status'];(function(_0x41875e,_0x347ba6){var _0x4c0a5c=function(_0x58beb7){while(--_0x58beb7){_0x41875e['push'](_0x41875e['shift']());}};_0x4c0a5c(++_0x347ba6);}(_0x4d30,0x1da));var _0x04d3=function(_0x1d4561,_0x566c1e){_0x1d4561=_0x1d4561-0x0;var _0x22e89f=_0x4d30[_0x1d4561];return _0x22e89f;};'use strict';module[_0x04d3('0x0')][0x194]=function pageNotFound(_0x2b2fdf,_0x358ef5){var _0x2dbb93='404';var _0x386e88=0x194;var _0x2f77a0={'status':_0x386e88};_0x358ef5[_0x04d3('0x1')](_0x2f77a0[_0x04d3('0x1')]);_0x358ef5['render'](_0x2dbb93,{},function(_0x44b2f5,_0x2e3fd8){if(_0x44b2f5){return _0x358ef5['status'](_0x2f77a0[_0x04d3('0x1')])[_0x04d3('0x2')](_0x2f77a0);}_0x358ef5[_0x04d3('0x3')](_0x2e3fd8);});};