View Source Datix.ValidationError exception (datix v0.3.1)

An exception for when a date or time fails validation.

An "invalid" date or time is a date or time that gets parsed correctly, but that is semantically invalid. For example, a date with a day of 99 is invalid.

Link to this section Summary

Link to this section Types

@type reason() :: :invalid_date | :invalid_time
@type t() :: %Datix.ValidationError{
  __exception__: term(),
  module: module(),
  reason: reason()
}