Exceptions

There are several exceptions thrown about in ScreenPy. Mostly they are used to provide extra context when other exceptions are raised.

Base

class screenpy.exceptions.ScreenPyError

The base exception for all of ScreenPy.

Ability Exceptions

class screenpy.exceptions.AbilityError

These errors are raised when an ability fails in some way.

class screenpy.abilities.browse_the_web.BrowsingError

Raised when BrowseTheWeb encounters an error.

Action Exceptions

class screenpy.exceptions.ActionError

These errors are raised when an action fails.

class screenpy.exceptions.DeliveryError

Raised when an action encounters an error while being performed.

class screenpy.exceptions.UnableToActError

Raised when an action is missing direction.

Actor Exceptions

class screenpy.actor.UnableToPerformError

Raised when an actor does not have the ability to perform the action they attempted.

Target Exceptions

class screenpy.target.TargetingError

Raised when there is an issue preventing target acquisition.