Class ErrorResponse
java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ProtocolMessage
com.oracle.truffle.tools.dap.types.Response
com.oracle.truffle.tools.dap.types.ErrorResponse
On error (whenever 'success' is false), the body can provide more details.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorResponsecreate(ErrorResponse.ResponseBody body, Integer requestSeq, Boolean success, String command, Integer seq) booleangetBody()Contains request result if success is true and optional error details if success is false.inthashCode()Methods inherited from class com.oracle.truffle.tools.dap.types.Response
create, getCommand, getMessage, getRequestSeq, isSuccess, setBody, setCommand, setMessage, setRequestSeq, setSuccess
-
Method Details
-
getBody
Description copied from class:ResponseContains request result if success is true and optional error details if success is false. -
setBody
-
equals
-
hashCode
public int hashCode() -
create
public static ErrorResponse create(ErrorResponse.ResponseBody body, Integer requestSeq, Boolean success, String command, Integer seq)
-