Issue IKTREDEL-103 by cableman: Added on error event