Статьи / OrientDB


orientdb oriento error handler

db.create('EDGE', 'VotesEdge').from(user_rid).to(vote_rid).one().then(function (err) {})
.catch(function (err) {
console.log(err);
});


Для обработки ошибок в oriento есть недокументированный метод catch