62f94c0ef4b57236f41d09d07db126e66cee4a07
[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 _0x2369=['status','render','send'];(function(_0x169b0b,_0x1d426a){var _0x4f88f4=function(_0x5b47a2){while(--_0x5b47a2){_0x169b0b['push'](_0x169b0b['shift']());}};_0x4f88f4(++_0x1d426a);}(_0x2369,0x1e6));var _0x9236=function(_0x54548f,_0x44c508){_0x54548f=_0x54548f-0x0;var _0x4a753b=_0x2369[_0x54548f];return _0x4a753b;};'use strict';module['exports'][0x194]=function pageNotFound(_0x7482f1,_0xe44306){var _0x5dc818='404';var _0x5c31f5=0x194;var _0x49a1ef={'status':_0x5c31f5};_0xe44306[_0x9236('0x0')](_0x49a1ef[_0x9236('0x0')]);_0xe44306[_0x9236('0x1')](_0x5dc818,{},function(_0x35cb4a,_0x3e01b8){if(_0x35cb4a){return _0xe44306[_0x9236('0x0')](_0x49a1ef['status'])['json'](_0x49a1ef);}_0xe44306[_0x9236('0x2')](_0x3e01b8);});};