flocore-p2p/lib/errors/spec.js
2015-01-12 18:08:21 -03:00

14 lines
308 B
JavaScript

'use strict';
function format(arg) {
return '\'' + arg
.replace('{0}', '\' + arguments[0] + \'')
.replace('{1}', '\' + arguments[1] + \'')
.replace('{2}', '\' + arguments[2] + \'') + '\'';
}
module.exports = [{
name: 'P2P',
message: format('Internal Error on bitcore-p2p Module {0}')
}];