class ActiveRecord::QueryCanceled

QueryCanceled will be raised when canceling statement due to user request.