Documentation

ErrorCollection

ErrorCollection collection of errors. Extension to the class \Main\Type\Dictionary.

Queries the namespace:

Method Description Available from version
add Adds an array with errors into collection.
getErrorByCode Returns error by retrieved code.
offsetSet Implementation of the interface \ArrayAccess.
setError Adds an error into collection.
Constructor Creates an object.


User Comments

User comments are not part of official documentation. Use information provided by other users in the comments at your own risk.

The User Comments section is not to be used as a feature discussion board. Only registered users can post comments. Your comment will be visible once it has been approved by the moderator.
© «Bitrix24», 2001-2022
Up