first commit
This commit is contained in:
24
build/node_modules/prepack/lib/debugger/common/DebuggerError.js
generated
vendored
Normal file
24
build/node_modules/prepack/lib/debugger/common/DebuggerError.js
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
var DebuggerError = exports.DebuggerError = function DebuggerError(errorType, message) {
|
||||
_classCallCheck(this, DebuggerError);
|
||||
|
||||
this.errorType = errorType;
|
||||
this.message = message;
|
||||
}; /**
|
||||
* Copyright (c) 2017-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
// More error types will be added as needed
|
||||
//# sourceMappingURL=DebuggerError.js.map
|
||||
Reference in New Issue
Block a user