Creates a new NavigationError instance.
Navigation error construction options including target and current URLs for diagnostic context.
ReadonlyattemptedReadonlycodeReadonlycurrentReadonlydetailsReadonlyretryableReadonlyseverityReadonlysuggestionsReadonlytargetReadonlytimestampReturns AI-agent-friendly context with navigation-specific diagnostic fields.
Base AI context extended with target and current URL details.
Serializes this error to a JSON-safe object with navigation-specific fields.
Base serialization extended with targetUrl and currentUrl.
Error subclass for FLP/route navigation failures.
Example
Sap Module
FLP
Browser Context
Requires active browser with FLP loaded
Failure Mode
Tile not found — semantic object or action not available in FLP
Failure Mode
Route failed — hash-based navigation did not resolve to a valid view
Failure Mode
Timeout — navigation did not complete within configured timeout