Built motion from commit 5293bb2a.|2.6.30
[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 _0x7a82=['json','send','exports','status'];(function(_0x483a6c,_0x1ec143){var _0x22700f=function(_0x5e362d){while(--_0x5e362d){_0x483a6c['push'](_0x483a6c['shift']());}};_0x22700f(++_0x1ec143);}(_0x7a82,0x8a));var _0x27a8=function(_0x415076,_0x2faa32){_0x415076=_0x415076-0x0;var _0x3b519e=_0x7a82[_0x415076];return _0x3b519e;};'use strict';module[_0x27a8('0x0')][0x194]=function pageNotFound(_0x10c19a,_0x594490){var _0x18df8b='404';var _0x36d4ac=0x194;var _0x2c12ad={'status':_0x36d4ac};_0x594490[_0x27a8('0x1')](_0x2c12ad[_0x27a8('0x1')]);_0x594490['render'](_0x18df8b,{},function(_0x3c6157,_0x50d32e){if(_0x3c6157){return _0x594490['status'](_0x2c12ad[_0x27a8('0x1')])[_0x27a8('0x2')](_0x2c12ad);}_0x594490[_0x27a8('0x3')](_0x50d32e);});};