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

    Type Alias SDKResponse

    Base SDK response shape.

    Use the type guards to narrow to a specific shape.

    type SDKResponse = {
        error?: string;
        result?: unknown;
        status_code: number;
    }
    Index

    Properties

    error?: string

    Error message, present on error status code responses

    result?: unknown

    The result data from the SDK method, present on 200 status code responses

    status_code: number

    HTTP-style status code indicating the outcome of the SDK method call