enhancing error thrower