Created basic Error reporting