Skip to content

Commit 52fc6a9

Browse files
authored
makes message param required, per Google CLoud standards (firebase#373)
1 parent 1ac36ce commit 52fc6a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/https.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export class HttpsError extends Error {
164164
*/
165165
readonly details?: any;
166166

167-
constructor(code: FunctionsErrorCode, message?: string, details?: any) {
167+
constructor(code: FunctionsErrorCode, message: string, details?: any) {
168168
super(message);
169169

170170
// This is a workaround for a bug in TypeScript when extending Error:

0 commit comments

Comments
 (0)