---
title: "Error | Grafana k6 documentation"
description: "The error object of a gRPC stream."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Error

The error object is the object that is passed to the `error` event handler function.

Expand table

| Name            | Type   | Description                              |
|-----------------|--------|------------------------------------------|
| `Error.code`    | number | A gRPC error code.                       |
| `Error.details` | array  | A list of details attached to the error. |
| `Error.message` | string | An original error message.               |
