The behaviour of GoToField in NotesUiDocument class is not as expected.
If a field with the given name does not exist at all in the form, the function does nothing instead of throwing error 4412.
If a field with the given name does exist in the form but is hidden, the function shows a message box "Field not found". After that, error 4412 is thrown. So there is no custom error handling possible without the message box being shown.
In each case error 4412 should simply be thrown.