View Source Vtc.Framestamp.MixedRateArithmeticError exception (vtc v0.17.5)

Exception returned when mixed-rate arithmetic was attempted without specifying which side of the operation's rate should be inherited.

struct-fields

Struct Fields

  • left_rate: The rate that was found on the left side of the operation.

  • right_rate: The rate that was found on the right side of the operation.

Link to this section Summary

Types

t()

Type of Framestamp.MixedRateError.

Functions

Returns a message for the error reason.

Link to this section Types

@type t() :: %Vtc.Framestamp.MixedRateArithmeticError{
  __exception__: true,
  func_name: :add | :sub,
  left_rate: Vtc.Framerate.t(),
  right_rate: Vtc.Framerate.t()
}

Type of Framestamp.MixedRateError.

Link to this section Functions

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

Returns a message for the error reason.