@vercel/build-utils
Advanced tools
Comparing version 2.3.2-canary.4 to 2.3.2-canary.5
@@ -10,3 +10,4 @@ /** | ||
link?: string; | ||
constructor({ message, code, link }: Props); | ||
action?: string; | ||
constructor({ message, code, link, action }: Props); | ||
} | ||
@@ -29,3 +30,7 @@ interface Props { | ||
link?: string; | ||
/** | ||
* Optional "action" to display before the `link`, such as "More details". | ||
*/ | ||
action?: string; | ||
} | ||
export {}; |
@@ -10,3 +10,3 @@ "use strict"; | ||
class NowBuildError extends Error { | ||
constructor({ message, code, link }) { | ||
constructor({ message, code, link, action }) { | ||
super(message); | ||
@@ -16,4 +16,5 @@ this.hideStackTrace = true; | ||
this.link = link; | ||
this.action = action; | ||
} | ||
} | ||
exports.NowBuildError = NowBuildError; |
{ | ||
"name": "@vercel/build-utils", | ||
"version": "2.3.2-canary.4", | ||
"version": "2.3.2-canary.5", | ||
"license": "MIT", | ||
@@ -51,3 +51,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "4e005274f964f0dd384b8f535a0f1fe48503ddf0" | ||
"gitHead": "3f132bc15b06e5fed762a83e6449b3b41c29e198" | ||
} |
Sorry, the diff of this file is too big to display
1239477
30439