console API: exception() static method: (an alias for error())

Deprecated

This feature is no longer recommended.