Skip to main content

bitrix-result-and-errors

Stars12
Forks2
UpdatedJuly 16, 2026 at 09:32

Covers Bitrix unified operation results โ€” Bitrix\Main\Result, Error, ErrorCollection, typed descendants (AddResult, UpdateResult, DeleteResult, EventResult), difference between Result and exceptions, returning errors from controllers via addError and combining service errors. Applied when designing service APIs and use cases, returning errors from module methods and controllers without throwing exceptions. Key terms โ€” Result, Error, ErrorCollection, isSuccess, getErrors, AddResult, UpdateResult, addError.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly