Get rid of the switch statement and use an string array for the cause instead. This saves about ~600 bytes. Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>