Retrieve the error code, in case this result represents an error.
an RelationCheckResult instance.
an RelationError