Built motion from commit 3e059bc2.|2.5.32
[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 _0x4560=['exports','status','render','send'];(function(_0x1a9464,_0x3c5356){var _0x536724=function(_0x3d0311){while(--_0x3d0311){_0x1a9464['push'](_0x1a9464['shift']());}};_0x536724(++_0x3c5356);}(_0x4560,0x1d4));var _0x0456=function(_0x26ca5e,_0x9c5d98){_0x26ca5e=_0x26ca5e-0x0;var _0x23db2d=_0x4560[_0x26ca5e];return _0x23db2d;};'use strict';module[_0x0456('0x0')][0x194]=function pageNotFound(_0xd9099e,_0x489eb1){var _0x5b28ab='404';var _0x4963cf=0x194;var _0x546ef3={'status':_0x4963cf};_0x489eb1[_0x0456('0x1')](_0x546ef3[_0x0456('0x1')]);_0x489eb1[_0x0456('0x2')](_0x5b28ab,{},function(_0x78700a,_0xdbc9ab){if(_0x78700a){return _0x489eb1['status'](_0x546ef3['status'])['json'](_0x546ef3);}_0x489eb1[_0x0456('0x3')](_0xdbc9ab);});};