Skip to content

Support for getting information about a thrown exception - #101

Merged
Andre Weinand (weinand) merged 3 commits into
masterfrom
andre/exceptionInfo
Feb 13, 2017
Merged

Andre Weinand (weinand) merged 3 commits into
masterfrom
andre/exceptionInfo

Conversation

@weinand

@weinand Andre Weinand (weinand) commented Feb 13, 2017 •

Copy link
Copy Markdown
Contributor

Here are my deviations from the original request:

  • moved supportsExceptionInfoRequest from the InitializeRequestArguments to the Capabilities types (the client should only call the 'exceptionInfo' request if it is supported).
  • innerException is an array of ExceptionDetails (as suggested by David Karlaš (@DavidKarlas))
  • renamed objectExpression to evaluateName because that's the name used in the Variable type for the identical purpose.
  • I did not include the ExceptionDetails.formattedDescription, ExceptionDetails.hresult, ExceptionDetails.source, and ExceptionInfoResponse.code attributes since they appear to be not broadly useful. I suggest to introduce them as private protocol additions.

@andrewcrawley

Copy link
Copy Markdown
Contributor

👍

@weinand
Andre Weinand (weinand) merged commit e2385c9 into master Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants