X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/f2ec7254120c90c3b023687f67a7b19f78b69370..08a2ff7f2801498d5cf8f387e8c881ee1cda9a3c:/doc/Lyricli/SourceManager.html 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.