European Parliament MCP Server API - v1.2.6
    Preparing search index...
    • Extract an HTTP status code from an error via duck typing. Works with both APIError (from clients/ep/baseClient) and any error carrying a numeric statusCode property (avoids circular imports).

      Parameters

      • error: unknown

      Returns number | undefined