diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2022-02-03 00:02:24 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2022-02-03 01:37:23 +0100 |
| commit | 6ddbccbc958d7925951ab6a1d035b3764f402759 (patch) | |
| tree | 4ecf921fbaf611948d73cd946acaea11ffed3a36 /src | |
| parent | 0ca333715b06689f3120c136dfeab493f30bf867 (diff) | |
| download | invidious-6ddbccbc958d7925951ab6a1d035b3764f402759.tar.gz invidious-6ddbccbc958d7925951ab6a1d035b3764f402759.tar.bz2 invidious-6ddbccbc958d7925951ab6a1d035b3764f402759.zip | |
Add new exception for parsing issues
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/exceptions.cr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/invidious/exceptions.cr b/src/invidious/exceptions.cr new file mode 100644 index 00000000..391a574d --- /dev/null +++ b/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 |
