Document Error type use

This is based off of #171