public Optional<ExceptionalHaltReason> getExceptionalHaltReason() {
    return exceptionalHaltReason;
  }
Returns the reason why a transaction was reverted (if applicable).

@return the revert reason.
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/processing/TransactionProcessingResult.java