5d0854ab9b46c8c9b8cc279b0f314628a2d43b59
[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 _0xbbf5=['status','send'];(function(_0x432fca,_0xb0b1b5){var _0x3adba4=function(_0x5e3ae4){while(--_0x5e3ae4){_0x432fca['push'](_0x432fca['shift']());}};_0x3adba4(++_0xb0b1b5);}(_0xbbf5,0x120));var _0x5bbf=function(_0xe3c54c,_0x33bb4a){_0xe3c54c=_0xe3c54c-0x0;var _0xb2729b=_0xbbf5[_0xe3c54c];return _0xb2729b;};'use strict';module['exports'][0x194]=function pageNotFound(_0x4fc87b,_0x51b8f9){var _0xe2b609='404';var _0x5ef547=0x194;var _0x13ef97={'status':_0x5ef547};_0x51b8f9[_0x5bbf('0x0')](_0x13ef97['status']);_0x51b8f9['render'](_0xe2b609,{},function(_0x2a2250,_0x31dd70){if(_0x2a2250){return _0x51b8f9[_0x5bbf('0x0')](_0x13ef97[_0x5bbf('0x0')])['json'](_0x13ef97);}_0x51b8f9[_0x5bbf('0x1')](_0x31dd70);});};