slack-edge
Version:
Slack app development framework for edge functions with streamlined TypeScript support
32 lines • 869 B
TypeScript
/**
* Error code representing an error that can occur during the OAuth flow.
*/
export interface OAuthErrorCode {
code: string;
message: string;
}
/**
* The state parameter is invalid.
*/
export declare const InvalidStateParameter: OAuthErrorCode;
/**
* The code parameter is missing.
*/
export declare const MissingCode: OAuthErrorCode;
/**
* The app installation failed for some reason.
*/
export declare const InstallationError: OAuthErrorCode;
/**
* The InstallationStore throwed an excetion.
*/
export declare const InstallationStoreError: OAuthErrorCode;
/**
* Failed to render the pre-defined completion page.
*/
export declare const CompletionPageError: OAuthErrorCode;
/**
* Something was wrong with OpenID Connect (Sign in with Slack).
*/
export declare const OpenIDConnectError: OAuthErrorCode;
//# sourceMappingURL=error-codes.d.ts.map