Throw error if no marks