msda-errors-client
v0.0.1
Published
errors client
Downloads
2
Readme
#error-service-client
#config
var ErrorModule = require("msda-errors-client");
var config = {
host: "bl.msda.ge",
port: 3033,
path: "/api/"
}
#loadErrors
err.load(function (err, res) {
//console.log(err, res);
});
#getError
//@keyword String "error kayword"
//@error Object/String is optional
//returns an array
err.getError(["UNHANDLED_EXCEPTION", "USER_ID_REQUIRED"]);