# `Vize.Vapor.Result`
[🔗](https://github.com/elixir-volt/vize_ex/blob/v0.17.1/lib/vize/vapor/result.ex#L1)

Result of Vapor template compilation.

# `input`

```elixir
@type input() :: %{
  :code =&gt; String.t(),
  optional(:templates) =&gt; [String.t()],
  optional(:diagnostics) =&gt; [
    Vize.Diagnostic.input() | Vize.Diagnostic.t() | String.t()
  ]
}
```

# `t`

```elixir
@type t() :: %Vize.Vapor.Result{
  code: String.t(),
  diagnostics: [Vize.Diagnostic.t()],
  templates: [String.t()]
}
```

# `new`

```elixir
@spec new(input() | t()) :: t()
```

---

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