Vtc.Timecode.ParseError exception (vtc v0.1.4) View Source

Exception returned when there is an error parsing a Timecode value.

Link to this section Summary

Functions

Returns a message for the error reason.

Link to this section Types

Specs

t() :: %Vtc.Timecode.ParseError{
  __exception__: term(),
  reason: :unrecognized_format | :bad_drop_frames
}

Type of Vtc.Timecode.ParseError

Fields

  • :reason: The reason the error occurred must be one of the following:

    • :unrecognized_format: Returned when a string value is not a recognized timecode, runtime, etc. format.

Link to this section Functions

Specs

Returns a message for the error reason.