Added throwIfNotOk() function and renamed include guards
Added more getOr* functions to FuncResult