Exceptions¶ All SDK exceptions inherit from ResumlyError. Catch specific exceptions for fine-grained error handling. Exceptions raised by the Resumly SDK. ResumlyError ¶ ResumlyError(message: str, status_code: int = None, response: dict = None) Bases: Exception Base exception for all Resumly SDK errors. message instance-attribute ¶ message = message status_code instance-attribute ¶ status_code = status_code response instance-attribute ¶ response = response AuthenticationError ¶ AuthenticationError(message: str, status_code: int = None, response: dict = None) Bases: ResumlyError Raised when the API key is invalid or missing. RateLimitError ¶ RateLimitError(message: str = 'Rate limit exceeded', retry_after: int = None, **kwargs) Bases: ResumlyError Raised when the API rate limit is exceeded. retry_after instance-attribute ¶ retry_after = retry_after InsufficientCreditsError ¶ InsufficientCreditsError(message: str, status_code: int = None, response: dict = None) Bases: ResumlyError Raised when the account does not have enough credits. NotFoundError ¶ NotFoundError(message: str, status_code: int = None, response: dict = None) Bases: ResumlyError Raised when the requested resource is not found. ValidationError ¶ ValidationError(message: str, status_code: int = None, response: dict = None) Bases: ResumlyError Raised when the request payload fails validation.