##### Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!# Imponeer\ObjectErrors\ErrorsTrait Trait that can be used when replacing old ImpressCMS or it's modules code Or maybe somewhere else... if you want it! ## Methods | Name | Description | |------|-------------| |[__construct](#errorstrait__construct)|ErrorsTrait constructor.| |[getErrors](#errorstraitgeterrors)|return the errors for this object as an array| |[getHtmlErrors](#errorstraitgethtmlerrors)|Returns the errors for this object as html| |[hasError](#errorstraithaserror)|Has some errors| |[setErrors](#errorstraitseterrors)|add an error| ### ErrorsTrait::__construct **Description** ```php public __construct (void) ``` ErrorsTrait constructor. **Parameters** `This function has no parameters.` **Return Values** `void`