errors library

Error types for flutter_inapp_purchase (OpenIAP compliant)

Classes

ConnectionResult
Connection result (legacy - kept for backward compatibility)
ErrorCodeMapping
Platform-specific error code mappings
ErrorCodeUtils
Utility functions for error code mapping and validation
PurchaseResult
Purchase result (legacy - kept for backward compatibility)

Functions

getCurrentPlatform() IapPlatform
Get current platform
getUserFriendlyErrorMessage(dynamic error) String
Returns a user-friendly message for the given error or error code

Exceptions / Errors

PurchaseError
Purchase error class (OpenIAP compliant)