# END_TRY: Exception/Error Trapping

> Source: https://manual.pvxplus.com/directives/end-try

## Formats

**TRY**  
... logic to run ...  
  
**CATCH**  
... logic to execute should an error occur  
  
**FINALLY**  
... optional logic to execute after the TRY or CATCH logic completes  
  
**END_TRY**

## Description

For a description of the **END_TRY** directive, see **[TRY](https://manual.pvxplus.com/directives/try)** directive.

*(The TRY .. CATCH ..FINALLY .. END_TRY directives were added in PxPlus v10.10.)*
