Handle unrecoverable errors by panicking.