You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be public. Can't currently catch an exception of type StoryException.
Use case: I'm writing a series of unit tests for an ink story. Would like to test that attempting to call an unbound external function throws a StoryException. Since StoryException is internal, I have to catch its parent class, Exception. But I do not want an unrelated exception to cause this test to pass when it shouldn't.
The text was updated successfully, but these errors were encountered:
nullObjectPtr
changed the title
StoryException in has accessability level Internal
StoryException has accessability level Internal
Apr 5, 2016
Should be public. Can't currently catch an exception of type StoryException.
Use case: I'm writing a series of unit tests for an ink story. Would like to test that attempting to call an unbound external function throws a StoryException. Since StoryException is internal, I have to catch its parent class, Exception. But I do not want an unrelated exception to cause this test to pass when it shouldn't.
The text was updated successfully, but these errors were encountered: