code: function errorTpl(error) {
  	var data = error.data;
  
  	try {
  		data.response = JSON.parse(data.response);
  	} catch(e) {}
  
  	return el(".error", [
  		el("strong", error.message),
  		el("hr"),
  		el("pre", JSON.stringify(data, null, 2)),
  	]);
  }
docs: error formatter