Class: Rapid::Baps::Exceptions::InvalidTrackType

Inherits:
Common::Exceptions::InvalidPlayoutResponse
  • Object
show all
Defined in:
lib/ury_rapid/baps/exceptions.rb

Overview

Exception generated when the playout system sends a load request for a track type Rapid doesn't understand.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ InvalidTrackType

Returns a new instance of InvalidTrackType


10
11
12
13
# File 'lib/ury_rapid/baps/exceptions.rb', line 10

def initialize(type)
  super(type)
  @type = type
end

Instance Method Details

#to_sObject


15
16
17
# File 'lib/ury_rapid/baps/exceptions.rb', line 15

def to_s
  "Invalid track type: #{@type}."
end