If I do a .cancel(), will an error be thown?

If I do a .cancel(), will an error be thown?
Was this page helpful?