adding a new error type

Duplicate message error