Function makeTxExecErrLessFugly

  • Extracts information that's actually useful to the user from a transaction error messageIndex is which message in the transaction threw the error errorSource is the type of error errorDetail is the error message

    Parameters

    • message: string

    Returns {
        errorDetail: string;
        errorSource: string;
        messageIndex: string;
    } | null

    data described above