[Issue #189] Preventing crash caused by dereference to error pointer when throwing exception

Signed-off-by: Mattt Thompson <m@mattt.me>