init
This commit is contained in:
16
tools/pretraining_data_builder/rsi_download/exceptions.py
Normal file
16
tools/pretraining_data_builder/rsi_download/exceptions.py
Normal file
@@ -0,0 +1,16 @@
|
||||
class InvalidWktPointArgument(Exception):
|
||||
"""Raised when the WKT string is not a valid point"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class InvalidDateRangeArgument(Exception):
|
||||
"""Raised when the daterange string is not valid"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class SearchException(Exception):
|
||||
"""Raised when search endpoint returned a non 200 statuscode"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user