Skip to content

Clarify what errors are catchable #12172

@florian-lefebvre

Description

@florian-lefebvre

📚 Subject area/topic

Error handling

📋 Page(s) affected (or suggested, for new content)

📋 Description of content that is out-of-date or incorrect

Follows withastro/astro#12383

prop for any error thrown during rendering

Quoting @Fryuni:

I'd say that sentence is actually the opposite of the technical truth 😅
It happens for every error except those that happen during rendering, since those are on an ongoing stream.
But what is calling the literal renderComponent function and what users might think as rendering might not be the same

🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    improve or update documentationEnhance / update existing documentation (e.g. add example, improve description, update for changes)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions