[Resolution] Ensure that an unwanted exception is not raised when an error occurs before the initial state has been pushed upon the stack