# `Dagger.Error`
[🔗](https://github.com/dagger/dagger/blob/v0.21.7/sdk/elixir/lib/dagger/gen/error.ex#L2)

Dagger.Error

# `t`

```elixir
@type t() :: %Dagger.Error{client: term(), query_builder: term()}
```

# `id`

```elixir
@spec id(t()) :: {:ok, String.t()} | {:error, term()}
```

A unique identifier for this Error.

# `message`

```elixir
@spec message(t()) :: {:ok, String.t()} | {:error, term()}
```

A description of the error.

# `values`

```elixir
@spec values(t()) :: {:ok, [Dagger.ErrorValue.t()]} | {:error, term()}
```

The extensions of the error.

# `with_value`

```elixir
@spec with_value(t(), String.t(), Dagger.JSON.t()) :: t()
```

Add a value to the error.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
