Skip to main content
Version: @ai-coustics/aic-sdk 0.24.0, Core SDK 0.24.0. API index · Node.js quickstart. SDK failures become ordinary JavaScript Error objects with the SDK message. This package exports no SDK exception subclasses or public error-code enum. Native SDK errors use N-API’s generic-failure category; do not import Python/Rust error class names in Node.js. JavaScript argument conversion can also throw before native work is queued. Synchronous methods and constructors throw. Native work queued by asynchronous methods rejects its promise. Put both construction and await inside error handling. Dispose only after outstanding work has settled; never turn a failed operation into a success response or assume an input buffer contains enhanced output.

Error messages and recovery

Message excerpts describe this release, not stable programmatic error discriminants. Keep secrets out of logs. For deployment recovery and network requirements, see authentication and SDK telemetry.

Reserved export

_setSdkId

Reserved internal export for ai-coustics embedding wrappers, not an application configuration API. Sets a telemetry wrapper ID only on the first write in the process; later writes are ignored. Applications should leave this untouched. Node.js API index · Errors and recovery · Stream lifecycle.