ParseError

works.iterative.core.Moment$package.Moment.ParseError
enum ParseError

Why an ISO string failed to parse, precise enough for the caller to act or report on.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class InvalidDate(input: String, year: Int, month: Int, day: Int)

Shape is fine, but the fields name no real calendar day (e.g. Feb 30).

Shape is fine, but the fields name no real calendar day (e.g. Feb 30).

Attributes

final case class InvalidTime(input: String, hour: Int, minute: Int, second: Int)

Shape is fine, but a time-of-day field is out of range (e.g. hour 24).

Shape is fine, but a time-of-day field is out of range (e.g. hour 24).

Attributes

final case class Malformed(input: String)

Does not match the ISO-8601 UTC instant grammar (uuuu-MM-ddTHH:mm:ss[.SSS]Z).

Does not match the ISO-8601 UTC instant grammar (uuuu-MM-ddTHH:mm:ss[.SSS]Z).

Attributes

final case class Unrepresentable(input: String)

Passed every guard, yet the platform engine could not represent it.

Passed every guard, yet the platform engine could not represent it.

Attributes