Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: grammar/spelling
  • Loading branch information
amychisholm03 committed Jul 1, 2024
commit 32b2cbb4474e94eb48968b4acaff84390fe1fd6d
4 changes: 2 additions & 2 deletions lib/errors/error-collector.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ErrorCollector {
/**
* Gets the iterable property from the transaction based on the error type
* @param {Transaction} transaction the collected exception's transaction
* @param {string} errorType the type of error to be processed; "user", "transactionException", "transaction"
* @param {string} errorType the type of error to be processed: "user", "transactionException", "transaction"
* @returns
*/
_getIterableProperty(transaction, errorType) {
Expand All @@ -110,7 +110,7 @@ class ErrorCollector {
* on the transaction (transaction.exceptions array), and inferred errors based on Transaction metadata.
*
* @param {Transaction} transaction the collected exception's transaction
* @param {number} collectedErrors the number of errors we've succesfully .collect()-ed
* @param {number} collectedErrors the number of errors we've successfully .collect()-ed
* @param {number} expectedErrors the number of errors marked as expected in noticeError
* @param {string} errorType the type of error to be processed; "user", "transactionException", "transaction"
* @returns {Array.<number>} the updated [collectedErrors, expectedErrors] numbers post processing
Expand Down