X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/f2ec7254120c90c3b023687f67a7b19f78b69370..b2ac68932fa671151d3ab3115c565fa9ad06420c:/doc/Lyricli/SourceManager.html?ds=sidebyside diff --git a/doc/Lyricli/SourceManager.html b/doc/Lyricli/SourceManager.html index 3a37bc4..a8ddaa0 100644 --- a/doc/Lyricli/SourceManager.html +++ b/doc/Lyricli/SourceManager.html @@ -377,7 +377,7 @@ Creates a new instance of SourceManager current_source = klass.new @enabled_sources << current_source else - raise StartSourceException + raise Exceptions::StartSourceError end end end @@ -589,7 +589,7 @@ the current track, has an `:artist` and `:song` key. lock = true if source.class.name == "arguments" end rescue - raise SourceConfigurationException + raise Exceptions::SourceConfigurationError end end track @@ -670,10 +670,10 @@ the name of the source to disable @config["enabled_sources"].delete(klass.name) @config.save_config else - raise DisableSourceException + raise Exceptions::DisableSourceError end else - raise UnknownSource + raise Exceptions::UnknownSourceError end end @@ -757,10 +757,10 @@ the name of the source to enable @config["enabled_sources"].uniq! @config.save_config else - raise EnableSourceException + raise Exceptions::EnableSourceError end else - raise UnknownSource + raise Exceptions::UnknownSourceError end end @@ -927,10 +927,10 @@ the name of the source to reset. klass.reset disable(source_name) else - raise ResetSourceException + raise Exceptions::ResetSourceError end else - raise UnknownSource + raise Exceptions::UnknownSourceError end end @@ -943,7 +943,7 @@ the name of the source to reset.