Skip to content

Commit b3c75af

Browse files
committed
Restore OptionalError
1 parent fffca03 commit b3c75af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/Error.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export interface HubSpotHttpErrorContext extends FileSystemErrorContext {
3636
projectName?: string;
3737
}
3838

39+
// TODO: Remove in next major release
40+
export type OptionalError = BaseError | null | undefined;
41+
3942
export type ErrorContext = {
4043
accountId?: number;
4144
};

0 commit comments

Comments
 (0)