differ-core / com.differ.differcore.models / Either / Error / <init>

<init>

Error(message: String, cause: Exception? = null)

Result of error ends methods.

Parameters

message - message for caller which describe what exactly went wrong;

cause - if there was an exception during method execution. May be null if there is no exception.