Skip to content

Conversation

@23bsm038-Mahi
Copy link

Summary

Added a public API method to access logged rendering errors.
Also emits a 'render:error' event when rendering fails.

Motivation

Helps developers debug render issues programmatically and improves testing visibility.

Implementation Details

  • Added cy.getLastRenderError() method
  • Emits render:error with detailed error info
  • Updated internal render error handling logic

Testing

Verified locally with a simulated render failure.

@23bsm038-Mahi
Copy link
Author

Hi maintainers
This PR adds a public API for exposing rendering errors (e.g., loggedErr) to help with debugging and testing in external tools.
I've tested this locally and verified that the API correctly reports simulated render failures.

Looking forward to your feedback!

@23bsm038-Mahi 23bsm038-Mahi changed the title feat(renderer): expose rendering errors (e.g. logged Err) via public API feat(renderer): expose rendering errors (e.g. loggedErr) via public API feat(renderer): expose rendering errors (e.g. logged Err) via public API Oct 31, 2025
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