Skip to content

Commit

Permalink
Merge pull request #82 from snoop168/master
Browse files Browse the repository at this point in the history
Update Error Message to better reflect the issue
  • Loading branch information
philprime authored Aug 29, 2018
2 parents d431d48 + 625c7af commit 8db9387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Table/PDFTableValidator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class PDFTableValidator {

// Throw error when columns row count does not equal relativeColumnWidth count
if columnWidths != nil && row.count != columnWidths!.count {
throw PDFError.tableStructureInvalid(message: "Data and alignment for row with index \(rowIdx) does not have the same amount!")
throw PDFError.tableStructureInvalid(message: "Data and widths for row with index \(rowIdx) does not have the same amount!")
}
}
}
Expand Down

0 comments on commit 8db9387

Please sign in to comment.