Overrides the toString function from the Exception class.
This method is used to provide a string representation of the ApiException. It includes the status code and the content message.
A string representation of the ApiException.