@forge/api
8.2.1-next.18.2.1-next.1-experimental-e03cc85
out/api/errors.d.ts~
out/api/errors.d.tsModified+9
Index: package/out/api/errors.d.ts
===================================================================
--- package/out/api/errors.d.ts
+++ package/out/api/errors.d.ts
@@ -4,8 +4,9 @@
export declare const NEEDS_AUTHENTICATION_ERR = "NEEDS_AUTHENTICATION_ERR";
export declare const INVALID_REMOTE_ERR = "INVALID_REMOTE_ERR";
export declare const INVALID_CONTAINER_SERVICE_ERR = "INVALID_CONTAINER_SERVICE_ERR";
export declare const PROXY_ERR = "PROXY_ERR";
+export declare const SEND_EMAIL_ERR = "SEND_EMAIL_ERR";
export declare const API_NOT_READY_ERR = "API_NOT_READY_ERR";
export declare function isForgePlatformError(err: Error): boolean;
export declare function isHostedCodeError(err: Error | string): boolean;
export declare function isExpectedError(err: Error): boolean;
@@ -52,8 +53,16 @@
status: number;
errorCode: string;
constructor(status: number, errorCode: string);
}
+export declare class SendEmailError extends HttpError {
+ status: number;
+ errorCode: string;
+ readonly code?: string | undefined;
+ readonly responseCode?: number | undefined;
+ readonly command?: string | undefined;
+ constructor(status: number, errorCode: string, code?: string | undefined, responseCode?: number | undefined, command?: string | undefined);
+}
export declare class ApiNotReadyError extends Error {
constructor(message?: string);
}
//# sourceMappingURL=errors.d.ts.map
\ No newline at end of file