:SYSTem:ERRor[:DATA]?
Returns the oldest error from the E4982A's error queue. The size of the error queue is 100. You can use the *CLS command to clear all errors contained in the error queue.
This commands cannot return an error that occurs by manual operation using the front panel, the mouse or keyboard.
{numeric},{string}<newline><^END>
{numeric}:
Error number
{string}:
Error message (a double-quoted string)
If the error queue contains no error, the command returns zero for the error number and “No error” for the error message.
No equivalent keys are available on the front panel.