Skip to content

refactor: rename EFAILEDEVAL → EINVALEVAL#706

Merged
Kikobeats merged 1 commit intomasterfrom
next
Mar 6, 2026
Merged

refactor: rename EFAILEDEVAL → EINVALEVAL#706
Kikobeats merged 1 commit intomasterfrom
next

Conversation

@Kikobeats
Copy link
Member

@Kikobeats Kikobeats commented Mar 6, 2026

Note

Medium Risk
Changes the public error code emitted by evaluationFailed from EFAILEDEVAL to EINVALEVAL, which can break consumers that match on the old code/string. Logic is otherwise unchanged and covered by updated tests/docs.

Overview
Renames the evaluationFailed error code from EFAILEDEVAL to EINVALEVAL in @browserless/errors, affecting both directly-created errors and errors normalized via ensureError.

Updates the package README examples and the AVA test expectations to reflect the new code/message format.

Written by Cursor Bugbot for commit 7ad06c6. This will update automatically on new commits. Configure here.

@Kikobeats Kikobeats merged commit ef3acea into master Mar 6, 2026
11 of 12 checks passed
@Kikobeats Kikobeats deleted the next branch March 6, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant