Skip to main content

ActionSubError type

Methods available on StarlarkActionSubError to help with testing the error handler implementation

ActionSubError.category

ActionSubError.category: str

The category name of this sub error. This function is only needed for action error handler unit testing.


ActionSubError.locations

ActionSubError.locations: None | list[ActionErrorLocation]

Any locations associated with this sub error. This function is only needed for action error handler unit testing.


ActionSubError.message

ActionSubError.message: None | str

The optional message associated with this sub error. This function is only needed for action error handler unit testing.