using ContractBreakError in RecordContract::_match