Built motion from commit 5b01f56.|0.0.106
[motion.git] / server / config / util / error.js
1 var _0x6eeb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x75\x74\x69\x6C","\x65\x78\x70\x6F\x72\x74\x73","\x70\x61\x74\x68","\x70\x75\x73\x68","\x66\x6F\x72\x45\x61\x63\x68","\x65\x72\x72\x6F\x72\x73","\x20\x6D\x75\x73\x74\x20\x62\x65\x20\x75\x6E\x69\x71\x75\x65","\x6D\x65\x73\x73\x61\x67\x65","\x6A\x6F\x69\x6E","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x49\x6D\x70\x6F\x73\x73\x69\x62\x6C\x65\x20\x74\x6F\x20\x72\x65\x6D\x6F\x76\x65\x20\x25\x73\x20\x25\x73\x20\x62\x65\x63\x61\x75\x73\x65\x20\x6F\x66\x20\x61\x6E\x20\x65\x78\x69\x73\x74\x69\x6E\x67\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74"];_0x6eeb[0];var util=require(_0x6eeb[1]);module[_0x6eeb[2]]={handleUniqueConstraintError:function(_0xfaa2x2,_0xfaa2x3){var _0xfaa2x4=[];_0xfaa2x3[_0x6eeb[6]][_0x6eeb[5]](function(_0xfaa2x5){switch(_0xfaa2x5[_0x6eeb[3]]){default:_0xfaa2x4[_0x6eeb[4]](_0xfaa2x5[_0x6eeb[3]])}});_0xfaa2x4[_0x6eeb[4]](_0x6eeb[7]);_0xfaa2x3[_0x6eeb[8]]=_0xfaa2x4[_0x6eeb[9]]();return _0xfaa2x2[_0x6eeb[11]](500)[_0x6eeb[10]](_0xfaa2x3)},handleForeignKeyConstraintError:function(_0xfaa2x2,_0xfaa2x6,_0xfaa2x7,_0xfaa2x3){_0xfaa2x3[_0x6eeb[8]]=util[_0x6eeb[13]](_0x6eeb[12],_0xfaa2x6,_0xfaa2x7);return _0xfaa2x2[_0x6eeb[11]](500)[_0x6eeb[10]](_0xfaa2x3)}}