Browse Source
Add new exception for parsing issues
pull/2856/head
Samantaz Fox
4 years ago
No known key found for this signature in database
GPG Key ID: F42821059186176E
1 changed files with
8 additions and
0 deletions
-
src/invidious/exceptions.cr
|
|
|
@ -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 |