context property

DiagnosticsNode context
final

A human-readable description of where the error was caught (as opposed to where it was thrown).

The string should be in a form that will make sense in English when following the word "thrown", as in "thrown while obtaining the image from the network" (for the context "while obtaining the image from the network").

Implementation

final DiagnosticsNode context