Skip to main content

ActionErrorLocation

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

ActionErrorLocation.file

ActionErrorLocation.file: str

Useful for external integration to highlight which file the error resides in. Currently only used for action error handler unit testing.


ActionErrorLocation.line

ActionErrorLocation.line: None | int

Useful for external integration to highlight which line the error resides in. Currently only used for action error handler unit testing.