Failure

constructor(reason: F)

Parameters

reason

encapsulates the reason for the unsuccessful requested operation and could contain any additional information represented by the provided class or Unit in case when additional info is not needed.