doc: fix Error property markdown level
Properties should be documented at same level as their constructor, as they are in the other API doc sections.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc