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.


© «Bitrix24», 2001-2024