Adding error handlers

Adding first error Handlers see #30