Capturing load sys config verify errors to a file

If I pipe tmsh load sys config verify to file, and an error is generated, the system message for that error is not captured to the file.

I am simply using:

tmsh load sys config verify >> /path/name.txt

This is piped to the file:

Validating system configuration…
/defaults/asm_base.conf

etc etc

But not this system message:

01070585:3: Virtual server (/Common/somevs) cannot reference rule (/Common/somerule) more than once (check persistence, auth and rules).
Unexpected Error: Validating configuration process failed.

How can I pipe the error to the file also?

Try using

tmsh load sys config verify &> /path/name.txt

to get both standard error and command output