mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-11-04 06:31:57 +00:00 
			
		
		
		
	Move InfoException to exceptions.cr
This commit is contained in:
		@@ -1,3 +1,11 @@
 | 
			
		||||
# InfoExceptions are for displaying information to the user.
 | 
			
		||||
#
 | 
			
		||||
# An InfoException might or might not indicate that something went wrong.
 | 
			
		||||
# Historically Invidious didn't differentiate between these two options, so to
 | 
			
		||||
# maintain previous functionality InfoExceptions do not print backtraces.
 | 
			
		||||
class InfoException < Exception
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
# Exception used to hold the bogus UCID during a channel search.
 | 
			
		||||
class ChannelSearchException < InfoException
 | 
			
		||||
  getter channel : String
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,3 @@
 | 
			
		||||
# InfoExceptions are for displaying information to the user.
 | 
			
		||||
#
 | 
			
		||||
# An InfoException might or might not indicate that something went wrong.
 | 
			
		||||
# Historically Invidious didn't differentiate between these two options, so to
 | 
			
		||||
# maintain previous functionality InfoExceptions do not print backtraces.
 | 
			
		||||
class InfoException < Exception
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
# -------------------
 | 
			
		||||
#  Issue template
 | 
			
		||||
# -------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user