-record(error_event, {model :: binary(), error :: pig_protocol@error:ai_error()}).