Using error.reason instead of error.raw.