Fixes "no method 'error'" bug, as seen in #110

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>