We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 492d114 commit ec55b90Copy full SHA for ec55b90
src/invidious/exceptions.cr
@@ -1,8 +1,12 @@
1
# Exception used to hold the name of the missing item
2
# Should be used in all parsing functions
3
-class BrokenTubeException < InfoException
+class BrokenTubeException < Exception
4
getter element : String
5
6
def initialize(@element)
7
end
8
+
9
+ def message
10
+ return "Missing JSON element \"#{@element}\""
11
+ end
12
0 commit comments