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

Struct IntOverflow

msgp/errors.go:181–185  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

179// would downcast an integer to a type
180// with too few bits to hold its value.
181type IntOverflow struct {
182 Value int64 // the value of the integer
183 FailedBitsize int // the bit size that the int64 could not fit into
184 ctx string
185}
186
187// Error implements the error interface
188func (i IntOverflow) Error() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected