---
type_name: RequestError
layout: sidebar
fields: []
---
{% capture content %}
{% include github-link.html module='heroic-component' name='metric.RequestError' %}
{% endcapture %}
{% include mkhash.inc required=true name="type" type_json='"node"|"shard"|"query"' purpose='Type of the error. The different error types have different sets of information associated with them.' %}
{% include api-type.html field=hash content=content type_name='RequestError' %}
{% capture content %}
com.spotify.heroic.metric.NodeError
{% endcapture %}
{% assign fields = page.fields %}
{% include mkhash.inc required=true name="type" type_json='"node"' purpose='' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="error" type_json='<string>' purpose='An error message.' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="nodeId" type_json='<string>' purpose='UUID of the failing node.' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="node" type_json='<string>' purpose='String-representation of the failing node.' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="tags" type_json='{<string>: <string>, ..}' purpose='Cluster tags of the failing node.' %}
{% assign fields = fields | push: hash %}
{% include api-type.html fields=fields content=content type_name='NodeError' %}
{% capture content %}
com.spotify.heroic.metric.ShardError
{% endcapture %}
{% assign fields = page.fields %}
{% include mkhash.inc required=true name="type" type_json='"shard"' purpose='' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="error" type_json="<string>" purpose='A human readable message indicating what went wrong.' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="nodes" type_json="[<string>, ...]" purpose='A list of nodes belonging to the shard where the error originated.' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="shard" type_json="{<string>: <string>, ...}" purpose='The shard tags associated with the error, all nodes in nodes
belong to this shard.' %}
{% assign fields = fields | push: hash %}
{% include api-type.html fields=fields content=content type_name='ShardError' %}
{% capture content %}
com.spotify.heroic.metric.QueryError
{% endcapture %}
{% assign fields = page.fields %}
{% include mkhash.inc required=true name="type" type_json='"series"' purpose='' %}
{% assign fields = fields | push: hash %}
{% include mkhash.inc required=true name="error" type_json='<string>' purpose='A human readable message indicating what went wrong.' %}
{% assign fields = fields | push: hash %}
{% include api-type.html fields=fields content=content type_name='QueryError' %}