Source code for ost.helpers.errors

"""OST specific errors and warnings"""


[docs]class GPTRuntimeError(RuntimeError): """Raised when a GPT process returns wrong return code.""" def __init__(self, message): self.message = message
[docs]class NotValidFileError(RuntimeError): """Raised when an output file did not pass the validation test.""" def __init__(self, message): self.message = message
[docs]class DownloadError(RuntimeError): """Raised when a download goes wrong."""