AFException

constructor(message: String? = null, isError: Boolean? = null, detail: String? = null, data: String? = null, errors: List<String?>? = null)

Creates an AFException with the given message.