attempt for monadic error reporting
Revert "attempt for monadic error reporting"

This reverts commit 5cfeaafc494ac15827b7c6d795066366a7d64704.