flocore-p2p/lib/errors/spec.js
2015-01-15 18:30:06 -05: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}')
}];