result: return nullopt if error is actuall nullptr