* Correctly return the result when used from the console, so that `DiagnosticsRendering` could use it to output the error. * Add location pointer to `DILDiagnosticError` internal formatting to show diagnostics when called from the API.
* Correctly return the result when used from the console, so that `DiagnosticsRendering` could use it to output the error. * Add location pointer to `DILDiagnosticError` internal formatting to show diagnostics when called from the API.