Uuid58.Error exception (uuid58 v0.1.1)

Copy Markdown View Source

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.

Summary

Types

kind()

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

t()

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