docs: function(error) {
      if (!error.stack) return error.message;
      var stack = error.stack;
      var firstLine = stack.substring(0, stack.indexOf('\n'));
      if (error.message && firstLine.indexOf(error.message) === -1) stack = error.message + '\n' + stack;
      return stack.replace(/\n.+\/adapter(\/lib)?\/hydro.js\?\d*\:.+(?=(\n|$))/g, '');
    }