Skip to content

Commit f2e52be

Browse files
Update excellent/types/number.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e845fba commit f2e52be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

excellent/types/number.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func newXNumber(value decimal.Decimal) *XNumber {
4545
// is outside the range of values that can be persisted
4646
func NewXNumber(value decimal.Decimal) XValue {
4747
if err := CheckDecimalRange(value); err != nil {
48-
return NewXErrorf("number value too large")
48+
return NewXErrorf("number value out of range")
4949
}
5050
return newXNumber(value)
5151
}

0 commit comments

Comments
 (0)