that’s because the error is thrown when you create the function.