Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Panic?

Definition 7.8 University Computer Science — Year 2 · Capítulo 7 — Enums, Pattern Matching and Error Handling

A panic stops the current thread on a condition the program declares impossible: an index out of bounds, an unwrap of None or of Err, an explicit panic!. The values of the thread are dropped, a message gives the place and the cause, and if the thread is the main one the process exits with status 101.

Leer en el capítulo →