Power and Thermal Analyzer User Guide

ID 865226
Date 9/29/2025
Public
Document Table of Contents

B.10. get_first_error

Usage

get_first_error [-h] [-help] [-long_help]
Arguments
-h: Quick usage.
-help: Short help.
-long_help: Long help with examples and possible return values.

Tcl Package and Version

Belongs to ::quartus::pta 1.0 .

Description

This command gets a two-item list containing: the instance path of the block with the error,and the Tcl property key of the found error. If no errors are present, an empty list is returned.

Example Usage

# Example call when the first error is in a logic resource.
get_first_error
{|logic[0]} {logicuserinput_toggle_rate}
# Example call when the first error is in the globals.
get_first_error
{} {thermalcalcmode}
# Example call when no errors are present.
get_first_error

Return Value

Code Name Code String Return
TCL_OK 0 INFO: Operation successful