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

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

struct-fields

Struct Fields

  • reason: The reason the error occurred.

failure-reasons

Failure Reasons

The following values can appear in the :reason fields:

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

  • :bad_drop_frames: The field value cannot exist in properly formatted drop-frame timecode.

Link to this section Summary

Types

t()

Type of Timecode.ParseError.

Functions

Returns a message for the error reason.

Link to this section Types

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

Type of Timecode.ParseError.

Link to this section Functions

@spec message(t()) :: String.t()

Returns a message for the error reason.