Panic
Also written: panics
A crash caused by a bug the compiler couldn't catch, such as an index out of range or dividing by zero. Treat a panic as a bug to fix, not as an error value.
Also written: panics
A crash caused by a bug the compiler couldn't catch, such as an index out of range or dividing by zero. Treat a panic as a bug to fix, not as an error value.