Add information to error message.
Merge pull request #1179 from nouiz/err_msg_align

Add information to error message.