Error filtering or prioritizing based on a policy defined by the user or on a policy defined by a hardware/software module