# `Numscript.Error`
[🔗](https://github.com/Hivebyte-Inc/numscript/blob/v0.2.0/lib/numscript/error.ex#L1)

A parse, execution or runtime error.

`kind` is the error's name in the interpreter (`"MissingFundsErr"`,
`"ParserError"`, `"MissingVariableErr"`, ...) or `"Runtime"`/`"Timeout"`.
`start`/`end` are `{line, column}`, counting from 1, when the error points
at a piece of the script. `details` has the error's fields (for example
`"needed"`, `"available"` and `"asset"` for missing funds).

# `t`

```elixir
@type t() :: %Numscript.Error{
  __exception__: true,
  details: map(),
  end: {pos_integer(), pos_integer()} | nil,
  errors: [t()],
  kind: String.t(),
  message: String.t(),
  start: {pos_integer(), pos_integer()} | nil
}
```

# `missing_funds?`

Is it a lack of funds?

# `new`

---

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