Glossary: Data Structures and Algorithms in Go
Panic
Also written: panics, runtime error
A crash Go raises for a serious runtime mistake, such as a nil pointer, an index out of range or popping an empty heap. The program stops and prints an error.
Glossary: Data Structures and Algorithms in Go
Also written: panics, runtime error
A crash Go raises for a serious runtime mistake, such as a nil pointer, an index out of range or popping an empty heap. The program stops and prints an error.