Version: v0.7.1 - Beta.  We welcome contributors & feedback.

Result.getFailCode

$r.getFailCode() -> string

Description

Get the failCode of the Result object, which is a string representing the kind of failure.

If it is not in a Fail state, return empty string ''.