getCauses

abstract fun getCauses(): List<out Failure>(source)

Returns the underlying causes for this failure, if any.

Return

the causes for this failure. Returns an empty list if this failure has no causes.