# `Dagger.ReturnType`
[🔗](https://github.com/dagger/dagger/blob/v0.20.5/sdk/elixir/lib/dagger/gen/return_type.ex#L2)

Expected return type of an execution

# `t`

```elixir
@type t() :: :SUCCESS | :FAILURE | :ANY
```

# `any`

```elixir
@spec any() :: :ANY
```

Any execution (exit codes 0-127)

# `failure`

```elixir
@spec failure() :: :FAILURE
```

A failed execution (exit codes 1-127)

# `success`

```elixir
@spec success() :: :SUCCESS
```

A successful execution (exit code 0)

---

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