If I run:
Graphics3D[ { Red, Sphere[] } ]
MessageList[$Line - 1]
the output is {} as no message has been generated when producing the graphic.
Now, if I run:
Graphics3D[ { red, Sphere[] } ]
MessageList[$Line - 1]
the ouput is still {}, although on the console the message: "red is not a Graphics3D primitive or directive." has been correctly generated when producing the incorrect graphic.
How to get access to this message, or at least know that a low level message has been generated to take proper action?
Thanks.