Project

General

Profile

Actions

User story #16483

closed

RL error handling - non blocking errors tool and error context capture

Added by Gaëtan POBLON almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
Gaëtan POBLON
Category:
rudderc
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

rudderlang had only blocking errors, stopping at the first error encountered. Plus, context of errors where often not right (either too large or off the error line)

This PR offers a more precise error context passed to errors.
It also integrates a parser function to throw non blocking errors, that become failure only if no scope-relative parser succeeds.
The first error met in its parent scope is returned, as following code cannot be reliably parsed since it depends on an error

Actions

Also available in: Atom PDF