two simple objects for errors and exceptions