We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99bdb94 commit 4f44ebfCopy full SHA for 4f44ebf
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