toString

open override fun toString(): String

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.

Return

A string representation of the ApiException.