Add ECC memory interface

Create ECC properties to record ce_counter, ue_counter, ECCStatus and
Reach the ECC collection limit.
Create the InvalidArgument error for ce_counter, ue_counter and ECC
collection limit.

Signed-off-by: will <Will.Liang@quantatw.com>
Change-Id: Ib05b0701a955b5a2ecba5dfecfa3f31ad9a3c1c2
diff --git a/xyz/openbmc_project/Memory/MemoryECC.errors.yaml b/xyz/openbmc_project/Memory/MemoryECC.errors.yaml
new file mode 100644
index 0000000..9c2f4b9
--- /dev/null
+++ b/xyz/openbmc_project/Memory/MemoryECC.errors.yaml
@@ -0,0 +1,8 @@
+- name: isLoggingLimitReached
+  description: ECC collection limit is reached.
+
+- name: ceCount
+  description: Correctable ECC/other correctable memory error.
+
+- name: ueCount
+  description: Uncorrectable ECC/other uncorrectable memory error.
\ No newline at end of file