Error txt variable

How to get the error text? Does the error text not have a variable that can be used in the macro?
@admin