Handle decoding errors.