If @@error in MS SQL. What is teradata equivalent/workaround.

Database
Enthusiast

If @@error in MS SQL. What is teradata equivalent/workaround.

Any assistance would be greatly appreciated.

I looked at Teradata document on error handling and had no insights, that I could see, on how to trap the error.

Thank You.