X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fconfig%2Futil%2Ferror.js;h=005bcf8b7e6fd3a9e5abeceb126a557efdd50851;hb=ec988e98666cb2864979ce180139d97ae4729cfe;hp=1a71c8f5da4b6e9f04dcb379b00e034ebcec694f;hpb=51103a2ed8b452b840f8c8814a97c4bd05cb5222;p=motion.git diff --git a/server/config/util/error.js b/server/config/util/error.js index 1a71c8f..005bcf8 100644 --- a/server/config/util/error.js +++ b/server/config/util/error.js @@ -1 +1 @@ -var _0x394b=["\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"];_0x394b[0];var util=require(_0x394b[1]);module[_0x394b[2]]= {handleUniqueConstraintError:function(_0x24cfx2,_0x24cfx3){var _0x24cfx4=[];_0x24cfx3[_0x394b[6]][_0x394b[5]](function(_0x24cfx5){switch(_0x24cfx5[_0x394b[3]]){default:_0x24cfx4[_0x394b[4]](_0x24cfx5[_0x394b[3]])}});_0x24cfx4[_0x394b[4]](_0x394b[7]);_0x24cfx3[_0x394b[8]]= _0x24cfx4[_0x394b[9]]();return _0x24cfx2[_0x394b[11]](500)[_0x394b[10]](_0x24cfx3)},handleForeignKeyConstraintError:function(_0x24cfx2,_0x24cfx6,_0x24cfx7,_0x24cfx3){_0x24cfx3[_0x394b[8]]= util[_0x394b[13]](_0x394b[12],_0x24cfx6,_0x24cfx7);return _0x24cfx2[_0x394b[11]](500)[_0x394b[10]](_0x24cfx3)}} \ No newline at end of file +var _0x7574=["\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"];_0x7574[0];var util=require(_0x7574[1]);module[_0x7574[2]]= {handleUniqueConstraintError:function(_0xede3x2,_0xede3x3){var _0xede3x4=[];_0xede3x3[_0x7574[6]][_0x7574[5]](function(_0xede3x5){switch(_0xede3x5[_0x7574[3]]){default:_0xede3x4[_0x7574[4]](_0xede3x5[_0x7574[3]])}});_0xede3x4[_0x7574[4]](_0x7574[7]);_0xede3x3[_0x7574[8]]= _0xede3x4[_0x7574[9]]();return _0xede3x2[_0x7574[11]](500)[_0x7574[10]](_0xede3x3)},handleForeignKeyConstraintError:function(_0xede3x2,_0xede3x6,_0xede3x7,_0xede3x3){_0xede3x3[_0x7574[8]]= util[_0x7574[13]](_0x7574[12],_0xede3x6,_0xede3x7);return _0xede3x2[_0x7574[11]](500)[_0x7574[10]](_0xede3x3)}} \ No newline at end of file