The code example in the error-handling documentation was missing a constructor
for the Foo class, which would cause a runtime error when calling Foo.new().
This fix adds the required `construct new() {}` block to make the sample
executable and focus on the intended method-not-found error demonstration.