public static TransactionTraceResult error(final Hash txHash, final String errorMessage) {
    return new TransactionTraceResult(txHash, Status.ERROR, errorMessage);
  }
Creates a TransactionTraceResult with an error status, the given transaction hash, and an error
message.

@param txHash The hash of the traced transaction.
@param errorMessage An error message describing the issue encountered during tracing.
@return An error TransactionTraceResult.
plugin-api/src/main/java/org/hyperledger/besu/plugin/data/TransactionTraceResult.java