added errors to the message repo