perhaps, ensureError?