New error handling interface