BufferOutOfBoundError creates a buffer out of bound error go:noinline
(offset, need, size int)
| 154 | // |
| 155 | //go:noinline |
| 156 | func BufferOutOfBoundError(offset, need, size int) Error { |
| 157 | return panicIfEnabled(Error{ |
| 158 | kind: ErrKindBufferOutOfBound, |
| 159 | offset: offset, |
| 160 | need: need, |
| 161 | size: size, |
| 162 | }) |
| 163 | } |
| 164 | |
| 165 | // TypeMismatchError creates a type mismatch error |
| 166 | // |
no test coverage detected