public Optional<String> getErrorMessage() {
      return errorMessage;
    }
Gets error message.

@return the error message
consensus/merge/src/main/java/org/hyperledger/besu/consensus/merge/blockcreation/MergeMiningCoordinator.java