Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

replacing reference to non-existent Exception with Error #494

Merged
merged 1 commit into from

2 participants

@bollwyvl

One liner.

While doing some stuff with this method in master (which worked in 0.8.10) ran across this problem.

The error message was informative, and still got to me, but I imagine the Error in question was interesting, and not the missing reference!

@warpech warpech merged commit e1e1a7a into from
@warpech
Owner

Thanks, sometimes I use old customs from other languages :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core.js
View
2  src/core.js
@@ -1397,7 +1397,7 @@ Handsontable.Core = function (rootElement, settings) {
for (i = 0, ilen = input.length; i < ilen; i++) {
if (typeof input[i][1] !== 'number') {
- throw new Exception('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`');
+ throw new Error('Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`');
}
prop = datamap.colToProp(input[i][1]);
changes.push([
Something went wrong with that request. Please try again.