MCPcopy
hub / github.com/tinylib/msgp / UintOverflow

Struct UintOverflow

msgp/errors.go:204–208  ·  view source on GitHub ↗

UintOverflow is returned when a call would downcast an unsigned integer to a type with too few bits to hold its value

Source from the content-addressed store, hash-verified

202// would downcast an unsigned integer to a type
203// with too few bits to hold its value
204type UintOverflow struct {
205 Value uint64 // value of the uint
206 FailedBitsize int // the bit size that couldn't fit the value
207 ctx string
208}
209
210// Error implements the error interface
211func (u UintOverflow) Error() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected