mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-30 07:13:04 +07:00
21 lines
463 B
JavaScript
21 lines
463 B
JavaScript
|
// Generated by CoffeeScript 2.4.1
|
||
|
(function() {
|
||
|
// Represents the error handler for DOM operations
|
||
|
var XMLDOMErrorHandler;
|
||
|
|
||
|
module.exports = XMLDOMErrorHandler = class XMLDOMErrorHandler {
|
||
|
// Initializes a new instance of `XMLDOMErrorHandler`
|
||
|
|
||
|
constructor() {}
|
||
|
|
||
|
// Called on the error handler when an error occurs.
|
||
|
|
||
|
// `error` the error message as a string
|
||
|
handleError(error) {
|
||
|
throw new Error(error);
|
||
|
}
|
||
|
|
||
|
};
|
||
|
|
||
|
}).call(this);
|