errorOrEmpty method

Error errorOrEmpty()

Allows you to access the error if it is an error or a None error

Implementation

Error errorOrEmpty() => isError ? _error! : Error.empty;