2022-03-27 05:50:00 +05:30
|
|
|
# Exception used to hold the bogus UCID during a channel search.
|
|
|
|
class ChannelSearchException < InfoException
|
|
|
|
getter channel : String
|
|
|
|
|
|
|
|
def initialize(@channel)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2022-02-03 04:32:24 +05:30
|
|
|
# Exception used to hold the name of the missing item
|
|
|
|
# Should be used in all parsing functions
|
2022-02-09 06:06:17 +05:30
|
|
|
class BrokenTubeException < Exception
|
2022-02-03 04:32:24 +05:30
|
|
|
getter element : String
|
|
|
|
|
|
|
|
def initialize(@element)
|
|
|
|
end
|
2022-02-09 06:06:17 +05:30
|
|
|
|
|
|
|
def message
|
|
|
|
return "Missing JSON element \"#{@element}\""
|
|
|
|
end
|
2022-02-03 04:32:24 +05:30
|
|
|
end
|
2022-05-27 19:06:13 +05:30
|
|
|
|
|
|
|
# Exception used to hold the bogus UCID during a channel search.
|
|
|
|
class NotFoundException < InfoException
|
|
|
|
end
|