vscode-jsonrpc
Advanced tools
Comparing version 3.0.1-alpha.7 to 3.0.2-beta.1
@@ -35,2 +35,4 @@ /** | ||
const serverErrorEnd: number; | ||
const ServerNotInitialized: number; | ||
const UnknownErrorCode: number; | ||
const MessageWriteError: number; | ||
@@ -37,0 +39,0 @@ const MessageReadError: number; |
@@ -25,3 +25,4 @@ /* -------------------------------------------------------------------------------------------- | ||
ErrorCodes.serverErrorEnd = -32000; | ||
// export const serverNotInitialized: number = -32001; | ||
ErrorCodes.ServerNotInitialized = -32002; | ||
ErrorCodes.UnknownErrorCode = -32001; | ||
// Defined by VSCode. | ||
@@ -39,3 +40,3 @@ ErrorCodes.MessageWriteError = 1; | ||
var _this = _super.call(this, message) || this; | ||
_this.code = code; | ||
_this.code = is.number(code) ? code : ErrorCodes.UnknownErrorCode; | ||
if (data !== void 0) { | ||
@@ -42,0 +43,0 @@ _this.data = data; |
Copyright (c) Microsoft Corporation | ||
All rights reserved. | ||
All rights reserved. | ||
@@ -5,0 +5,0 @@ MIT License |
{ | ||
"name": "vscode-jsonrpc", | ||
"description": "A json rpc implementation over streams", | ||
"version": "3.0.1-alpha.7", | ||
"version": "3.0.2-beta.1", | ||
"author": "Microsoft Corporation", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -0,0 +0,0 @@ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96264
2220