Built motion from commit ecb45b58.|2.6.31
[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 _0x93f0=['send','exports','status','render'];(function(_0x346737,_0x3e6081){var _0x1ade2e=function(_0x15e50e){while(--_0x15e50e){_0x346737['push'](_0x346737['shift']());}};_0x1ade2e(++_0x3e6081);}(_0x93f0,0x14d));var _0x093f=function(_0x56724c,_0x369bc5){_0x56724c=_0x56724c-0x0;var _0x1d9cac=_0x93f0[_0x56724c];return _0x1d9cac;};'use strict';module[_0x093f('0x0')][0x194]=function pageNotFound(_0x31775e,_0xf6fb6c){var _0x359bef='404';var _0x27a64d=0x194;var _0x46b841={'status':_0x27a64d};_0xf6fb6c[_0x093f('0x1')](_0x46b841['status']);_0xf6fb6c[_0x093f('0x2')](_0x359bef,{},function(_0x2c895e,_0x2dbce1){if(_0x2c895e){return _0xf6fb6c[_0x093f('0x1')](_0x46b841[_0x093f('0x1')])['json'](_0x46b841);}_0xf6fb6c[_0x093f('0x3')](_0x2dbce1);});};