In editing “Employee.Swift” to handle non-numeric input in raise the compiler does not recognize “outError” but flags it as an unresolved identifier. Commenting out this line allows the app. to run with the default error message. I cannot find “outError” in the documentation.
Double-check the spelling in your function declaration. outError is a parameter passed into the function. When the compiler complains that the variable is unresolved, it means it cannot find its declaration. That declaration is in the function call itself. It should read like this:
Thanks. I had checked that several times and it looked identical to the book. Then I commented mine out and copied yours in its place. Finally found a “?” after NSErrorPointer. In the last 35 years I have spent countless hours hunting for this kind of error.
Thanks again