AFException
class AFException(val message: String? = null, val isError: Boolean? = null, val detail: String? = null, val data: String? = null, val errors: List<String?>? = null) : Exception
Represents an exception that occurs during an API call.
This data class is used to deserialize error responses from the API. It extends Throwable so it can be thrown and caught like a standard exception.