We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9852b9c commit 2dd9e60Copy full SHA for 2dd9e60
bson/bsoncodec/default_value_decoders.go
@@ -24,7 +24,7 @@ import (
24
25
var (
26
defaultValueDecoders DefaultValueDecoders
27
- errCannotTruncate = errors.New("float64 can only be truncated to an integer type when truncation is enabled")
+ errCannotTruncate = errors.New("float64 can only be truncated to a lower precision type when truncation is enabled")
28
)
29
30
type decodeBinaryError struct {
0 commit comments