@grabjs/superapp-sdk
    Preparing search index...

    Type Alias GetIntResponse

    GetIntResponse:
        | { error: string; status_code: 400 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { error: string; status_code: 424 }
        | { result: { value: number | null }; status_code: 200 }

    Response when getting an integer value.

    This response can have the following status codes:

    • 200: Value retrieved successfully. The result contains the integer value or null if not found.
    • 400: Missing required parameters - key not provided.
    • 424: Failed Dependency - storage operation failed due to underlying storage error.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.