static: descriptive errors added

Fixes: #673