Identifying the errors

This is a simple class that i created,which can used to implemented err messages suchas "Author nick too long"  in other scenarios we ccan use ".setStatus"