Skip to content

script-debug: expose ScriptError codes from kernel verification API#143

Open
febyeji wants to merge 1 commit intosedited:feature_script_debugfrom
febyeji:script-debug/expose-script-error
Open

script-debug: expose ScriptError codes from kernel verification API#143
febyeji wants to merge 1 commit intosedited:feature_script_debugfrom
febyeji:script-debug/expose-script-error

Conversation

@febyeji
Copy link

@febyeji febyeji commented Mar 5, 2026

Summary

  • Expose the C++ ScriptError_t enum as ScriptError (53 variants)
  • Replace ScriptVerifyError::Invalid with ScriptVerifyError::Script(ScriptError) for specific failure reasons

Tests

  • test_script_error_codes: validates distinct ScriptError variants using minimal synthetic scripts

@febyeji febyeji force-pushed the script-debug/expose-script-error branch from fd24729 to d63b62a Compare March 5, 2026 04:59
@febyeji febyeji changed the title Expose ScriptError codes from kernel verification API script-debug: expose ScriptError codes from kernel verification API Mar 5, 2026
@febyeji febyeji force-pushed the script-debug/expose-script-error branch from d63b62a to 0fcbcea Compare March 5, 2026 08:35
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