mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-03-03 12:50:00 +00:00
13 lines
269 B
Crystal
13 lines
269 B
Crystal
# Exception used to hold the name of the missing item
|
|
# Should be used in all parsing functions
|
|
class BrokenTubeException < Exception
|
|
getter element : String
|
|
|
|
def initialize(@element)
|
|
end
|
|
|
|
def message
|
|
return "Missing JSON element \"#{@element}\""
|
|
end
|
|
end
|