Skip to content

Commit

Permalink
feat; explicitly setting prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
mbittarelli6river committed Nov 12, 2020
1 parent b042118 commit 1946959
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/SlaveApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ let xmlrpc = require('@sixriver/xmlrpc');
//-----------------------------------------------------------------------

class AbortedError extends Error {
constructor() {
super();

Object.setPrototypeOf(this, AbortedError.prototype);
}
}

class SlaveApiClient {
Expand Down

0 comments on commit 1946959

Please sign in to comment.