SaveAction

constructor(fileManager: FileManager, failureHandler: (ErrorCode, Throwable?) -> Unit)

Construct a SaveAction.

Parameters

failureHandler

A function that accepts a ErrorCode that describes the nature of the failure and an optional Throwable.