Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Panic?

Definition 7.8 University Computer Science — Year 2 · Bab 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.

Baca dalam konteks →