Added a new message type for errors