Skip to content

Commit

Permalink
DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Brien committed Jul 12, 2021
1 parent aa62b17 commit f6ed256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model.js
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ export class Model {
} else if (type == Number) {
let num = Number(value)
if (isNaN(num)) {
throw new Error(`Invalid value "${value}" provided for ${field.name}`)
throw new Error(`Invalid value "${value}" provided for field "${field.name}"`)
}
value = num

Expand Down

0 comments on commit f6ed256

Please sign in to comment.