WORKFLOW

Suppress Error Messages

In a Single Evaluation...

Some evaluations may issue error messages:

In[1]:=
Click for copyable input
Out[1]=

To suppress the error messages, wrap the input expression with Quiet:

In[2]:=
Click for copyable input
Out[2]=

For an Entire Session...

To suppress a particular error message for the remainder of the session, click the "More information" icon to the left of the message, choose Turn Off This Message, and click OK:

Subsequent evaluations will not produce the message:

In[4]:=
Click for copyable input
Out[4]=

For an Entire Session Programmatically by Name...

It is sometimes useful to turn off an error message programmatically. To do so, you need the messages name.

If an evaluation has issued a message, you can see its name by clicking the "More information" icon on its left:

Use Off to turn that message off for the remainder of the session:

In[6]:=
Click for copyable input

Subsequent evaluations will not produce that message:

In[7]:=
Click for copyable input
Out[7]=

Turn the message back on again with On:

In[8]:=
Click for copyable input

The message is restored:

In[9]:=
Click for copyable input
Out[9]=