Return error in raise