mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add new exception for parsing issues
This commit is contained in:
parent
0ca333715b
commit
6ddbccbc95
1 changed files with 8 additions and 0 deletions
8
src/invidious/exceptions.cr
Normal file
8
src/invidious/exceptions.cr
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Exception used to hold the name of the missing item
|
||||
# Should be used in all parsing functions
|
||||
class BrokenTubeException < InfoException
|
||||
getter element : String
|
||||
|
||||
def initialize(@element)
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue