Fixed error passing; can manually set error context