Merge pull request #1 from Rachnog/master

Первый коммит
Custom exception for handling tree failure