Standard library / bytes

bytes.ErrTooLarge

Sentinel panic value for a Buffer that cannot grow sufficiently; avoid deliberately exhausting memory. Expected stdout: 'true\n'.

Formal Syntax & Structure

go syntaxgo
var ErrTooLarge error

Working Example

Example Snippetgo
package main
import (  "bytes"  "fmt")
func main() {  fmt.Println(bytes.ErrTooLarge != nil)}
Go Reference