errorOrNull

Get the error or null if the result was successful.

Return

The error or null if the result was successful.