alien-platform-api 1.2.7

Auto-generated Rust SDK for the Alien Platform API
Documentation

Alien Client SDK

Auto-generated from OpenAPI spec with custom error conversion support.

Error Handling

For SDK API calls, use SdkResultExt::into_sdk_error() instead of .into_alien_error() to preserve structured API error information:

use alien_client_sdk::SdkResultExt;

// ✅ Good: preserves API error code, message, retryable flag
client.some_method().send().await.into_sdk_error().context(...)?

// ❌ Bad: loses structured error information
client.some_method().send().await.into_alien_error().context(...)?

For non-SDK errors (serde, std, etc.), continue using .into_alien_error().