IntOverflow is returned when a call would downcast an integer to a type with too few bits to hold its value.
| 179 | // would downcast an integer to a type |
| 180 | // with too few bits to hold its value. |
| 181 | type 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 |
| 188 | func (i IntOverflow) Error() string { |
nothing calls this directly
no outgoing calls
no test coverage detected