errorhandling-ng

Signed-off-by: Horváth Balázs <qqroach@riftworks.org>