• The ErrorInfo of a failed invoke/invokeJson envelope (its statusDetails), or undefined.

    Parameters

    • response: { message: string; status: string; statusDetails: Uint8Array; success: boolean }

    Returns undefined | ApiErrorInfo