Skip to content

Missing explanation of Error vs Exception #7312

@Sidewinder1138

Description

@Sidewinder1138

Page URL

https://dart.dev/learn/tutorial/error-handling

Page source

https://github.com/dart-lang/site-www/blob/main/src/content/learn/tutorial/error-handling.md

Describe the problem

I don't think this step of the tutorial adequately explains what Error is for vs. Exception. This distinction seems important to Dart, and was surprising to me as a learner. The summary at the bottom claims it was explained, but the summary was in fact the first time I had a clue why these two are separate (other than going and asking AI).

Expected fix

Some prose explaining Error vs Exception, earlier on in the tutorial step, would be helpful to new learners I think.

Additional context

No response

I would like to fix this problem.

  • I will try and fix this problem on dart.dev.

Metadata

Metadata

Assignees

No one assigned

    Labels

    from.page-issueReported in a reader-filed concern

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions