Closed taras-pinchuk-uinno closed 11 months ago
Fix invalid return type of OpenAI\Exceptions\ErrorException::getErrorCode()
Exception: TypeError OpenAI\Exceptions\ErrorException::getErrorCode(): Return value must be of type ?string, int returned
Hi @taras-pinchuk-uinno
Thank you. Fixed in main.
Fix invalid return type of OpenAI\Exceptions\ErrorException::getErrorCode()
Exception: TypeError OpenAI\Exceptions\ErrorException::getErrorCode(): Return value must be of type ?string, int returned