# `Uuid58.Error`
[🔗](https://github.com/nakanoasaservice/uuid58/blob/elixir/v0.1.1/elixir/lib/uuid58/error.ex#L1)

Raised by the bang functions (`Uuid58.encode!/1` and the rest) for invalid
input.

`kind` is the error kind from the specification, section 7:
`:invalid_length`, `:invalid_character`, or `:overflow`. Messages are not
part of the specification and may change. They do not include the input.

# `kind`

```elixir
@type kind() :: :invalid_length | :invalid_character | :overflow
```

# `t`

```elixir
@type t() :: %Uuid58.Error{__exception__: term(), kind: kind(), message: String.t()}
```

---

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