Snowflakex.ClockError exception (Snowflakex v1.2.0)

Copy Markdown View Source

The snowflake could not be obtained due to the system clock moving backwards.

The :remaining field holds the number of milliseconds until the clock catches up with the last timestamp an ID was generated for.

Summary

Types

t()

@type t() :: %Snowflakex.ClockError{
  __exception__: term(),
  message: String.t(),
  remaining: pos_integer()
}