lib/adhearsion/voip/commands.rb in adhearsion-1.1.0 vs lib/adhearsion/voip/commands.rb in adhearsion-1.1.1
- old
+ new
@@ -3,7 +3,11 @@
module Commands
def self.for(platform_name)
Adhearsion::VoIP.const_get(platform_name.to_s.classify).const_get("Commands")
end
end
+
+ class PlaybackError < StandardError
+ # Represents failure to play audio, such as when the sound file cannot be found
+ end
end
end
\ No newline at end of file