Source code for finetuner.exception

[docs]class FinetunerServerError(Exception): def __init__( self, message: str = 'An unknown error occurred', details: str = '', code: int = -1, ): self.details = details self.message = message self.code = code def __str__(self): return f'{self.message} ({self.code}): {self.details}'
[docs]class RunInProgressError(Exception): ...
[docs]class RunFailedError(Exception): ...
[docs]class UserNotLoggedInError(Exception): ...