UNPKG

@aashari/mcp-server-aws-sso

Version:

Node.js/TypeScript MCP server for AWS Single Sign-On (SSO). Enables AI systems (LLMs) with tools to initiate SSO login (device auth flow), list accounts/roles, and securely execute AWS CLI commands using temporary credentials. Streamlines AI interaction w

12 lines (11 loc) 414 B
import { ErrorCode, ErrorContext } from './error-types.util.js'; /** * Detect specific error types from raw errors * @param error The error to analyze * @param context Context information for better error detection * @returns Object containing the error code and status code */ export declare function detectErrorType(error: unknown, context?: ErrorContext): { code: ErrorCode; statusCode: number; };