Skip to content

Commit 6ddbccb

Browse files
committed
Add new exception for parsing issues
1 parent 0ca3337 commit 6ddbccb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/invidious/exceptions.cr

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Exception used to hold the name of the missing item
2+
# Should be used in all parsing functions
3+
class BrokenTubeException < InfoException
4+
getter element : String
5+
6+
def initialize(@element)
7+
end
8+
end

0 commit comments

Comments
 (0)