added separate exceptions for resource unavailable and exceeded rate limit