Standard library / compress/flate
compress/flate.InternalError
Represents an internal DEFLATE implementation error rather than a normal input-validation result. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
type InternalError stringWorking Example
Example Snippetgo
package main
import ( "compress/flate" "fmt")
func must(e error) { if e != nil { panic(e) }}
func main() { var e error = flate.InternalError("demo"); fmt.Println(e.Error() != "") }