Assembles an error message for a revert status.

  • Parameters

    • receipts: TransactionResultReceipt[]

      The transaction result processed receipts.

    • logs: unknown[]

      The transaction decoded logs.

    • metadata: Record<string, unknown>

    Returns FuelError

    The error message.